From: Hiltjo Posthuma Date: Sun, 19 Jul 2015 18:29:26 +0000 (+0200) Subject: fix prompt color style how it used to be X-Git-Url: https://git.danieliu.xyz/?a=commitdiff_plain;h=1c242df1244af10cf5d2c2640ac0d2a7ad1ad878;p=dmenu.git 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! --- diff --git a/dmenu.c b/dmenu.c index 94be574..11b6e8d 100644 --- 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 */