set window background_pixel 3f9b10c8
Connor Lane Smith · 2011-11-23 14:40 1 file(s) · +2 −2
dmenu.c +2 −2
575 575
576 576
	/* create menu window */
577 577
	swa.override_redirect = True;
578 -
	swa.background_pixmap = ParentRelative;
578 +
	swa.background_pixel = normcol[ColBG];
579 579
	swa.event_mask = ExposureMask | KeyPressMask | VisibilityChangeMask;
580 580
	win = XCreateWindow(dc->dpy, root, x, y, mw, mh, 0,
581 581
	                    DefaultDepth(dc->dpy, screen), CopyFromParent,
582 582
	                    DefaultVisual(dc->dpy, screen),
583 -
	                    CWOverrideRedirect | CWBackPixmap | CWEventMask, &swa);
583 +
	                    CWOverrideRedirect | CWBackPixel | CWEventMask, &swa);
584 584
585 585
	/* open input methods */
586 586
	xim = XOpenIM(dc->dpy, NULL, NULL, NULL);