diff --git a/dwm.c b/dwm.c index 74bb6df..011debc 100644 --- a/dwm.c +++ b/dwm.c @@ -2484,7 +2484,7 @@ toggleextrabar(const Arg *arg) { selmon->extrabar = !selmon->extrabar; updatebarpos(selmon); - XMoveResizeWindow(dpy, selmon->extrabarwin, selmon->wx, selmon->eby, selmon->ww, bh); + XMoveResizeWindow(dpy, selmon->extrabarwin, selmon->wx + sp, selmon->eby - vp ,selmon->ww - 2 * sp, bh); arrange(selmon); }