diff --git a/dmenu.c b/dmenu.c index 216e6a1..e3cbbd3 100644 --- a/dmenu.c +++ b/dmenu.c @@ -771,10 +771,11 @@ setup(void) /* create menu window */ swa.override_redirect = True; swa.background_pixel = 0; - swa.border_pixel = scheme[SchemeBorder][ColFg].pixel; swa.colormap = cmap; + // swa.border_pixel = scheme[SchemeBorder][ColFg].pixel; + swa.border_pixel = 0; 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, CWOverrideRedirect | CWBackPixel | CWBorderPixel | CWColormap | CWEventMask, &swa); if (border_width)