Browse Source

set window background_pixel

master
Connor Lane Smith 12 years ago
parent
commit
3f9b10c86a
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      dmenu.c

+ 2
- 2
dmenu.c View File

@@ -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);


Loading…
Cancel
Save