diff options
Diffstat (limited to 'dwm.c')
| -rw-r--r-- | dwm.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -374,7 +374,6 @@ static int screen; static int sw, sh; /* X display screen geometry width, height */ static int bh; /* bar height */ static int lrpad; /* sum of left and right padding for text */ -static int vp; /* vertical padding for bar */ static int sp; /* side padding for bar */ static int (*xerrorxlib)(Display *, XErrorEvent *); static unsigned int numlockmask = 0; @@ -416,6 +415,8 @@ static xcb_connection_t *xcon; /* configuration, allows nested code to access above variables */ #include "config.h" +static int vp = (topbar == 1) ? vertpad : -vertpad; /* vertical padding for bar */ + struct Pertag { unsigned int curtag, prevtag; /* current and previous tag */ int nmasters[LENGTH(tags) + 1]; /* number of windows in master area */ |