diff options
| author | Utkarsh Verma <[email protected]> | 2021-12-26 21:26:32 +0530 |
|---|---|---|
| committer | Utkarsh Verma <[email protected]> | 2021-12-26 21:26:32 +0530 |
| commit | 6667f1030bcb43716c81867eecf6efcb070c2c3d (patch) | |
| tree | 8f0849f10e168dc22d472a308b0296b21f38af12 | |
| parent | 3d081ef5f928bfbf07f67975f4acced1f18e6661 (diff) | |
| download | dwm-flexipatch-6667f1030bcb43716c81867eecf6efcb070c2c3d.tar.gz dwm-flexipatch-6667f1030bcb43716c81867eecf6efcb070c2c3d.zip | |
Make sure it plays well with pertag patch
| -rw-r--r-- | dwm.c | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -4319,10 +4319,15 @@ updatebarpos(Monitor *m) m->ww = m->mw; m->wh = m->mh; Bar *bar; - #if BAR_GAPS_PADDING_PATCH + #if BAR_GAPS_PADDING_PATCH && VANITYGAPS_PATCH int y_pad = 0; int x_pad = 0; + + #if PERTAG_VANITYGAPS_PATCH && PERTAG_PATCH + if (!selmon || selmon->pertag->enablegaps[selmon->pertag->curtag]) { + #else if (enablegaps) { + #endif // PERTAG_VANITYGAPS_PATCH y_pad = gappov; x_pad = gappoh; } |
