1
0
Fork 0
mirror of https://github.com/Horhik/dotfiles.git synced 2024-11-16 13:43:18 +00:00
Dotfiles/dmenu-4.9/dmenu.c.rej
2020-08-30 14:59:33 +03:00

15 lines
681 B
Plaintext

--- 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 */