From c361ca2c0d14da589ab46d259bc09064f45b9465 Mon Sep 17 00:00:00 2001 From: Jakub Date: Mon, 3 Jun 2024 23:49:53 -0400 Subject: [PATCH] fix padding for toggled extra bar --- dwm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }