summaryrefslogtreecommitdiff
path: root/dmenu/dmenu.c.rej
blob: dd978c8a013e2bf57e165c7259b9aba1ee22f122 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- dmenu.c	2019-02-02 13:55:02.000000000 +0100
+++ dmenu.c	2019-05-19 02:11:20.966710117 +0200
@@ -654,9 +654,10 @@ setup(void)
 	swa.override_redirect = True;
 	swa.background_pixel = scheme[SchemeNorm][ColBg].pixel;
 	swa.event_mask = ExposureMask | KeyPressMask | VisibilityChangeMask;
-	win = XCreateWindow(dpy, parentwin, x, y, mw, mh, 0,
+	win = XCreateWindow(dpy, parentwin, x, y, mw, mh, border_width,
 	                    CopyFromParent, CopyFromParent, CopyFromParent,
 	                    CWOverrideRedirect | CWBackPixel | CWEventMask, &swa);
+	XSetWindowBorder(dpy, win, scheme[SchemeSel][ColBg].pixel);
 	XSetClassHint(dpy, win, &ch);
 
 	/* open input methods */