bar border - allow for the border size to be explicitly set ref. #364
This commit is contained in:
4
dwm.c
4
dwm.c
@@ -484,7 +484,7 @@ struct Monitor {
|
||||
int gappov; /* vertical outer gaps */
|
||||
#endif // VANITYGAPS_PATCH
|
||||
#if SETBORDERPX_PATCH
|
||||
unsigned int borderpx;
|
||||
int borderpx;
|
||||
#endif // SETBORDERPX_PATCH
|
||||
unsigned int seltags;
|
||||
unsigned int sellt;
|
||||
@@ -1676,7 +1676,7 @@ createmon(void)
|
||||
bar->showbar = 1;
|
||||
bar->external = 0;
|
||||
#if BAR_BORDER_PATCH
|
||||
bar->borderpx = borderpx;
|
||||
bar->borderpx = (barborderpx ? barborderpx : borderpx);
|
||||
#else
|
||||
bar->borderpx = 0;
|
||||
#endif // BAR_BORDER_PATCH
|
||||
|
Reference in New Issue
Block a user