From 3f9b10c86abe3e6403b09c92f30c02050aa9d456 Mon Sep 17 00:00:00 2001 From: Connor Lane Smith Date: Wed, 23 Nov 2011 14:40:21 +0100 Subject: set window background_pixel --- dmenu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'dmenu.c') diff --git a/dmenu.c b/dmenu.c index a5af9d5..019fa3e 100644 --- a/dmenu.c +++ b/dmenu.c @@ -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); -- cgit v1.2.3-54-g00ecf