From 6dd910f53c13c06d2e32251bc7b4193a75200628 Mon Sep 17 00:00:00 2001 From: bakkeby Date: Wed, 20 Oct 2021 17:52:57 +0200 Subject: [PATCH] border patch: fix for no border on the right hand side --- dmenu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dmenu.c b/dmenu.c index 3e3c52e..2f0c881 100644 --- a/dmenu.c +++ b/dmenu.c @@ -1670,7 +1670,7 @@ setup(void) #endif // MOUSE_SUPPORT_PATCH ; #if BORDER_PATCH - win = XCreateWindow(dpy, parentwin, x, y, mw, mh, border_width, + win = XCreateWindow(dpy, parentwin, x, y - (topbar ? 0 : border_width * 2), mw - border_width * 2, mh, border_width, #else win = XCreateWindow(dpy, parentwin, x, y, mw, mh, 0, #endif // BORDER_PATCH