]> git.armaanb.net Git - dmenu.git/commitdiff
fix prompt color style how it used to be
authorHiltjo Posthuma <hiltjo@codemadness.org>
Sun, 19 Jul 2015 18:29:26 +0000 (20:29 +0200)
committerHiltjo Posthuma <hiltjo@codemadness.org>
Sun, 19 Jul 2015 18:29:26 +0000 (20:29 +0200)
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!

dmenu.c

diff --git a/dmenu.c b/dmenu.c
index 94be574e1ba6ee17560ccb434a29e44b629756d8..11b6e8d4b585728dc2ab450a51f38a37abd2e90b 100644 (file)
--- 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 */