diff options
| author | bakkeby <[email protected]> | 2022-02-11 11:48:27 +0100 |
|---|---|---|
| committer | bakkeby <[email protected]> | 2022-02-11 11:48:27 +0100 |
| commit | 8f986a4e3b64533d9d96272941685a314f3fa837 (patch) | |
| tree | 554e75d43a041cd8a0c2c643b5ae0239a295f201 /patch | |
| parent | 065c17de4c3e91071a3ed863b7d0f85d72a757d3 (diff) | |
| parent | 282dc2ad22fd9483a4349064ce7e7e5e4476ef18 (diff) | |
| download | dwm-flexipatch-8f986a4e3b64533d9d96272941685a314f3fa837.tar.gz dwm-flexipatch-8f986a4e3b64533d9d96272941685a314f3fa837.zip | |
Merge branch 'UtkarshVerma-bar-gaps' ref. #208
Diffstat (limited to 'patch')
| -rw-r--r-- | patch/vanitygaps.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/patch/vanitygaps.c b/patch/vanitygaps.c index be2ef08..d322ded 100644 --- a/patch/vanitygaps.c +++ b/patch/vanitygaps.c @@ -86,6 +86,16 @@ togglegaps(const Arg *arg) #else enablegaps = !enablegaps; #endif // PERTAG_VANITYGAPS_PATCH + + #if BAR_PADDING_VANITYGAPS_PATCH + updatebarpos(selmon); + for (Bar *bar = selmon->bar; bar; bar = bar->next) + XMoveResizeWindow(dpy, bar->win, bar->bx, bar->by, bar->bw, bar->bh); + + #if BAR_SYSTRAY_PATCH + drawbarwin(systray->bar); + #endif // BAR_SYSTRAY_PATCH + #endif // BAR_PADDING_VANITYGAPS_PATCH arrange(NULL); } |
