aboutsummaryrefslogtreecommitdiff
path: root/dinput.c
diff options
context:
space:
mode:
authorConnor Lane Smith <cls@lubutu.com>2010-06-28 06:09:34 +0100
committerConnor Lane Smith <cls@lubutu.com>2010-06-28 06:09:34 +0100
commit18dcf738967a45208e880b72ce273afdd93ee6c7 (patch)
tree750ef101f905125871cd63e6734cbbae25f4cb44 /dinput.c
parent9f3b0c6ea843340b87a045ea0afd2d1b33425eee (diff)
downloaddmenu-18dcf738967a45208e880b72ce273afdd93ee6c7.tar.gz
dmenu-18dcf738967a45208e880b72ce273afdd93ee6c7.tar.bz2
dmenu-18dcf738967a45208e880b72ce273afdd93ee6c7.zip
extended libdraw
Diffstat (limited to 'dinput.c')
-rw-r--r--dinput.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/dinput.c b/dinput.c
index 228780c..0bf2679 100644
--- a/dinput.c
+++ b/dinput.c
@@ -72,15 +72,15 @@ drawinput(void)
dc.y = 0;
dc.w = mw;
dc.h = mh;
- drawtext(&dc, NULL, normcol);
+ drawtext(&dc, NULL, normcol, False);
/* print prompt? */
if(prompt) {
dc.w = promptw;
- drawtext(&dc, prompt, selcol);
+ drawtext(&dc, prompt, selcol, False);
dc.x += dc.w;
}
dc.w = mw - dc.x;
- drawtext(&dc, *text ? text : NULL, normcol);
+ drawtext(&dc, *text ? text : NULL, normcol, False);
drawcursor();
XCopyArea(dpy, dc.drawable, win, dc.gc, 0, 0, mw, mh, 0, 0);
XFlush(dpy);
@@ -233,7 +233,7 @@ run(void) {
/* main event loop */
while(running && !XNextEvent(dpy, &ev))
- switch (ev.type) {
+ switch(ev.type) {
case KeyPress:
kpress(&ev.xkey);
break;