[hackers] [dmenu] decosmetics || Connor Lane Smith

From: <hg_AT_suckless.org>
Date: Tue, 29 Jun 2010 18:19:26 +0000 (UTC)

changeset: 329:5c19bf03b06f
tag: tip
user: Connor Lane Smith <cls_AT_lubutu.com>
date: Tue Jun 29 19:19:20 2010 +0100
files: dinput.c
description:
decosmetics

diff -r 6ece85bb6822 -r 5c19bf03b06f dinput.c
--- a/dinput.c Tue Jun 29 16:07:31 2010 +0100
+++ b/dinput.c Tue Jun 29 19:19:20 2010 +0100
@@ -76,11 +76,11 @@
         /* 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);
Received on Tue Jun 29 2010 - 18:19:26 UTC

This archive was generated by hypermail 2.2.0 : Tue Jun 29 2010 - 18:24:03 UTC