tset window background_pixel - dmenu - Dmenu fork with xft fonts.
 (HTM) git clone git://r-36.net/dmenu
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 3f9b10c86abe3e6403b09c92f30c02050aa9d456
 (DIR) parent 5162d1b37adc51d75f058be1244f38a72117a087
 (HTM) Author: Connor Lane Smith <cls@lubutu.com>
       Date:   Wed, 23 Nov 2011 14:40:21 +0100
       
       set window background_pixel
       Diffstat:
         dmenu.c                             |       4 ++--
       
       1 file changed, 2 insertions(+), 2 deletions(-)
       ---
 (DIR) diff --git a/dmenu.c b/dmenu.c
       t@@ -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);