mirror of
https://github.com/Horhik/dotfiles.git
synced 2024-11-24 17:11:31 +00:00
15 lines
681 B
Plaintext
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 */
|