]> git.armaanb.net Git - dmenu.git/commitdiff
merge token -> default
authorConnor Lane Smith <cls@lubutu.com>
Mon, 19 Sep 2011 23:11:01 +0000 (00:11 +0100)
committerConnor Lane Smith <cls@lubutu.com>
Mon, 19 Sep 2011 23:11:01 +0000 (00:11 +0100)
1  2 
dmenu.c

diff --cc dmenu.c
index 6c1407d9c9441b5b2b14a990f70116cd7e479353,1cd9f611312064ef7e4449b03661b9e75e040e49..9d479f9be982563d948ac3b6473f85df7a54a800
+++ b/dmenu.c
@@@ -519,12 -525,12 +530,12 @@@ setup(void) 
        }
        promptw = prompt ? textw(dc, prompt) : 0;
        inputw = MIN(inputw, mw/3);
-       match(False);
+       match();
  
        /* menu window */
 -      wa.override_redirect = True;
 -      wa.background_pixmap = ParentRelative;
 -      wa.event_mask = ExposureMask | KeyPressMask | VisibilityChangeMask;
 +      swa.override_redirect = True;
 +      swa.background_pixmap = ParentRelative;
 +      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),