decosmetics
This commit is contained in:
parent
340b176de6
commit
f2abaf8b30
4
dinput.c
4
dinput.c
@ -76,11 +76,11 @@ drawinput(void)
|
|||||||
/* print prompt? */
|
/* print prompt? */
|
||||||
if(prompt) {
|
if(prompt) {
|
||||||
dc.w = promptw;
|
dc.w = promptw;
|
||||||
drawtext(&dc, prompt, normcol, False);
|
drawtext(&dc, prompt, selcol, False);
|
||||||
dc.x += dc.w;
|
dc.x += dc.w;
|
||||||
}
|
}
|
||||||
dc.w = mw - dc.x;
|
dc.w = mw - dc.x;
|
||||||
drawtext(&dc, *text ? text : NULL, selcol, False);
|
drawtext(&dc, *text ? text : NULL, normcol, False);
|
||||||
drawcursor();
|
drawcursor();
|
||||||
XCopyArea(dpy, dc.drawable, win, dc.gc, 0, 0, mw, mh, 0, 0);
|
XCopyArea(dpy, dc.drawable, win, dc.gc, 0, 0, mw, mh, 0, 0);
|
||||||
XFlush(dpy);
|
XFlush(dpy);
|
||||||
|
Loading…
Reference in New Issue
Block a user