Loop through all bars

This commit is contained in:
Utkarsh Verma 2021-12-26 19:30:01 +05:30
parent 0cd25db5af
commit 3d081ef5f9
No known key found for this signature in database
GPG Key ID: 817656CF818EFCCC

View File

@ -89,8 +89,9 @@ togglegaps(const Arg *arg)
#if BAR_GAPS_PADDING_PATCH
updatebarpos(selmon);
Bar *bar = selmon->bar;
XMoveResizeWindow(dpy, bar->win, bar->bx, bar->by, bar->bw, bar->bh);
Bar *bar;
for (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);