dmenu

my fork of dmenu
Index Commits Files Refs README LICENSE
commit f2abaf8b308bc25d9c5f26d3ea3818516dd477d9
parent 340b176de6db87471610c0a75450e0de9535b6ae
Author: Connor Lane Smith <cls@lubutu.com>
Date:   Tue, 29 Jun 2010 19:19:20 +0100

decosmetics
Diffstat:
Mdinput.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dinput.c b/dinput.c
@@ -76,11 +76,11 @@ drawinput(void)
     /* print prompt? */
     if(prompt) {
         dc.w = promptw;
-        drawtext(&dc, prompt, normcol, False);
+        drawtext(&dc, prompt, selcol, False);
         dc.x += dc.w;
     }
     dc.w = mw - dc.x;
-    drawtext(&dc, *text ? text : NULL, selcol, False);
+    drawtext(&dc, *text ? text : NULL, normcol, False);
     drawcursor();
     XCopyArea(dpy, dc.drawable, win, dc.gc, 0, 0, mw, mh, 0, 0);
     XFlush(dpy);