Fix resizing of bar

This commit is contained in:
Utkarsh Verma 2021-12-26 18:53:53 +05:30
parent 8f401e1d81
commit 0cd25db5af
No known key found for this signature in database
GPG Key ID: 817656CF818EFCCC

View File

@ -90,7 +90,7 @@ togglegaps(const Arg *arg)
#if BAR_GAPS_PADDING_PATCH #if BAR_GAPS_PADDING_PATCH
updatebarpos(selmon); updatebarpos(selmon);
Bar *bar = selmon->bar; Bar *bar = selmon->bar;
XMoveResizeWindow(dpy, bar->win, bar->bx, bar->by, bar->bw + gappoh, bar->bh); XMoveResizeWindow(dpy, bar->win, bar->bx, bar->by, bar->bw, bar->bh);
#if BAR_SYSTRAY_PATCH #if BAR_SYSTRAY_PATCH
drawbarwin(systray->bar); drawbarwin(systray->bar);