commit - 5162d1b37adc51d75f058be1244f38a72117a087
commit + 3f9b10c86abe3e6403b09c92f30c02050aa9d456
blob - a5af9d5b87dfecb2aebb4d7ffbf92a9de4c55392
blob + 019fa3e29ad30fcca746e09586b31deefff7b27f
--- dmenu.c
+++ dmenu.c
/* create menu window */
swa.override_redirect = True;
- swa.background_pixmap = ParentRelative;
+ swa.background_pixel = normcol[ColBG];
swa.event_mask = ExposureMask | KeyPressMask | VisibilityChangeMask;
win = XCreateWindow(dc->dpy, root, x, y, mw, mh, 0,
DefaultDepth(dc->dpy, screen), CopyFromParent,
DefaultVisual(dc->dpy, screen),
- CWOverrideRedirect | CWBackPixmap | CWEventMask, &swa);
+ CWOverrideRedirect | CWBackPixel | CWEventMask, &swa);
/* open input methods */
xim = XOpenIM(dc->dpy, NULL, NULL, NULL);