Merged with bordercolor. Tested in xfce, border is broken
This commit is contained in:
parent
930f84c987
commit
115960df07
5
dmenu.c
5
dmenu.c
@ -771,10 +771,11 @@ setup(void)
|
|||||||
/* create menu window */
|
/* create menu window */
|
||||||
swa.override_redirect = True;
|
swa.override_redirect = True;
|
||||||
swa.background_pixel = 0;
|
swa.background_pixel = 0;
|
||||||
swa.border_pixel = scheme[SchemeBorder][ColFg].pixel;
|
|
||||||
swa.colormap = cmap;
|
swa.colormap = cmap;
|
||||||
|
// swa.border_pixel = scheme[SchemeBorder][ColFg].pixel;
|
||||||
|
swa.border_pixel = 0;
|
||||||
swa.event_mask = ExposureMask | KeyPressMask | VisibilityChangeMask;
|
swa.event_mask = ExposureMask | KeyPressMask | VisibilityChangeMask;
|
||||||
win = XCreateWindow(dpy, root, x, y, mw, mh, 0,
|
win = XCreateWindow(dpy, root, x, y, mw, mh, border_width,
|
||||||
depth, CopyFromParent, visual,
|
depth, CopyFromParent, visual,
|
||||||
CWOverrideRedirect | CWBackPixel | CWBorderPixel | CWColormap | CWEventMask, &swa);
|
CWOverrideRedirect | CWBackPixel | CWBorderPixel | CWColormap | CWEventMask, &swa);
|
||||||
if (border_width)
|
if (border_width)
|
||||||
|
Loading…
Reference in New Issue
Block a user