dmenu

my fork of dmenu
Index Commits Files Refs README LICENSE
commit 1c242df1244af10cf5d2c2640ac0d2a7ad1ad878
parent 4b1fecd44e8376594c418663351fcb30c4e841de
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Sun, 19 Jul 2015 20:29:26 +0200

fix prompt color style how it used to be

This is the style how it was before the big Xft change. The colors were
inverted, this was not the case before the change.

Reported by "zvz" on #suckless IRC, thanks!

Diffstat:
Mdmenu.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dmenu.c b/dmenu.c
@@ -207,7 +207,7 @@ drawmenu(void) {
 
     if(prompt && *prompt) {
         drw_setscheme(drw, &scheme[SchemeSel]);
-        drw_text(drw, x, 0, promptw, bh, prompt, 1);
+        drw_text(drw, x, 0, promptw, bh, prompt, 0);
         x += promptw;
     }
     /* draw input field */