aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dmenu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dmenu.c b/dmenu.c
index a5af9d5..019fa3e 100644
--- a/dmenu.c
+++ b/dmenu.c
@@ -575,12 +575,12 @@ setup(void) {
575 575
576 /* create menu window */ 576 /* create menu window */
577 swa.override_redirect = True; 577 swa.override_redirect = True;
578 swa.background_pixmap = ParentRelative; 578 swa.background_pixel = normcol[ColBG];
579 swa.event_mask = ExposureMask | KeyPressMask | VisibilityChangeMask; 579 swa.event_mask = ExposureMask | KeyPressMask | VisibilityChangeMask;
580 win = XCreateWindow(dc->dpy, root, x, y, mw, mh, 0, 580 win = XCreateWindow(dc->dpy, root, x, y, mw, mh, 0,
581 DefaultDepth(dc->dpy, screen), CopyFromParent, 581 DefaultDepth(dc->dpy, screen), CopyFromParent,
582 DefaultVisual(dc->dpy, screen), 582 DefaultVisual(dc->dpy, screen),
583 CWOverrideRedirect | CWBackPixmap | CWEventMask, &swa); 583 CWOverrideRedirect | CWBackPixel | CWEventMask, &swa);
584 584
585 /* open input methods */ 585 /* open input methods */
586 xim = XOpenIM(dc->dpy, NULL, NULL, NULL); 586 xim = XOpenIM(dc->dpy, NULL, NULL, NULL);