mirror of
https://github.com/mintycube/dwm.git
synced 2024-10-22 14:05:45 +02:00
Make sure it plays well with pertag patch
This commit is contained in:
parent
3d081ef5f9
commit
6667f1030b
7
dwm.c
7
dwm.c
@ -4319,10 +4319,15 @@ updatebarpos(Monitor *m)
|
|||||||
m->ww = m->mw;
|
m->ww = m->mw;
|
||||||
m->wh = m->mh;
|
m->wh = m->mh;
|
||||||
Bar *bar;
|
Bar *bar;
|
||||||
#if BAR_GAPS_PADDING_PATCH
|
#if BAR_GAPS_PADDING_PATCH && VANITYGAPS_PATCH
|
||||||
int y_pad = 0;
|
int y_pad = 0;
|
||||||
int x_pad = 0;
|
int x_pad = 0;
|
||||||
|
|
||||||
|
#if PERTAG_VANITYGAPS_PATCH && PERTAG_PATCH
|
||||||
|
if (!selmon || selmon->pertag->enablegaps[selmon->pertag->curtag]) {
|
||||||
|
#else
|
||||||
if (enablegaps) {
|
if (enablegaps) {
|
||||||
|
#endif // PERTAG_VANITYGAPS_PATCH
|
||||||
y_pad = gappov;
|
y_pad = gappov;
|
||||||
x_pad = gappoh;
|
x_pad = gappoh;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user