diff options
author | Connor Lane Smith <cls@lubutu.com> | 2011-11-23 14:40:21 +0100 |
---|---|---|
committer | Connor Lane Smith <cls@lubutu.com> | 2011-11-23 14:40:21 +0100 |
commit | 3f9b10c86abe3e6403b09c92f30c02050aa9d456 (patch) | |
tree | 04a5cca46ede3134ce668841a9d5580eda3ca082 | |
parent | 5162d1b37adc51d75f058be1244f38a72117a087 (diff) | |
download | dmenu-3f9b10c86abe3e6403b09c92f30c02050aa9d456.tar.gz dmenu-3f9b10c86abe3e6403b09c92f30c02050aa9d456.tar.bz2 dmenu-3f9b10c86abe3e6403b09c92f30c02050aa9d456.zip |
set window background_pixel
-rw-r--r-- | dmenu.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -575,12 +575,12 @@ setup(void) { /* 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); |