pinosaur
/
dmenu.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
340b176
)
decosmetics
author
Connor Lane Smith
<cls@lubutu.com>
Tue, 29 Jun 2010 18:19:20 +0000
(19:19 +0100)
committer
Connor Lane Smith
<cls@lubutu.com>
Tue, 29 Jun 2010 18:19:20 +0000
(19:19 +0100)
dinput.c
patch
|
blob
|
history
diff --git
a/dinput.c
b/dinput.c
index
b69dcb3
..
6b78598
100644
(file)
--- a/
dinput.c
+++ b/
dinput.c
@@
-76,11
+76,11
@@
drawinput(void)
/* print prompt? */
if(prompt) {
dc.w = promptw;
- drawtext(&dc, prompt,
norm
col, False);
+ drawtext(&dc, prompt,
sel
col, False);
dc.x += dc.w;
}
dc.w = mw - dc.x;
- drawtext(&dc, *text ? text : NULL,
sel
col, False);
+ drawtext(&dc, *text ? text : NULL,
norm
col, False);
drawcursor();
XCopyArea(dpy, dc.drawable, win, dc.gc, 0, 0, mw, mh, 0, 0);
XFlush(dpy);