diff options
Diffstat (limited to 'dwm.c')
| -rw-r--r-- | dwm.c | 21 |
1 files changed, 9 insertions, 12 deletions
@@ -4343,25 +4343,22 @@ updatebarpos(Monitor *m) m->ww = m->mw; m->wh = m->mh; Bar *bar; - #if BAR_GAPS_PADDING_PATCH && VANITYGAPS_PATCH int y_pad = 0; int x_pad = 0; - + #if BAR_PADDING_VANITYGAPS_PATCH && VANITYGAPS_PATCH #if PERTAG_VANITYGAPS_PATCH && PERTAG_PATCH - if (!selmon || selmon->pertag->enablegaps[selmon->pertag->curtag]) { + if (!selmon || selmon->pertag->enablegaps[selmon->pertag->curtag]) #else - if (enablegaps) { + if (enablegaps) #endif // PERTAG_VANITYGAPS_PATCH - y_pad = gappov; - x_pad = gappoh; + { + y_pad = gappoh; + x_pad = gappov; } #elif BAR_PADDING_PATCH - int y_pad = vertpad; - int x_pad = sidepad; - #else - int y_pad = 0; - int x_pad = 0; - #endif // BAR_PADDING_PATCH + y_pad = vertpad; + x_pad = sidepad; + #endif // BAR_PADDING_PATCH | BAR_PADDING_VANITYGAPS_PATCH #if INSETS_PATCH // Custom insets |
