pinosaur
/
dmenu.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
128d4cf
)
new libdraw
author
Connor Lane Smith
<cls@lubutu.com>
Thu, 19 Aug 2010 15:17:57 +0000
(16:17 +0100)
committer
Connor Lane Smith
<cls@lubutu.com>
Thu, 19 Aug 2010 15:17:57 +0000
(16:17 +0100)
dmenu.c
patch
|
blob
|
history
diff --git
a/dmenu.c
b/dmenu.c
index
f743be8
..
f6e6931
100644
(file)
--- a/
dmenu.c
+++ b/
dmenu.c
@@
-132,7
+132,7
@@
drawmenu(void) {
if(next)
drawtext(dc, ">", normcol);
}
-
commit
draw(dc, win, mw, mh);
+
map
draw(dc, win, mw, mh);
}
char *
@@
-478,7
+478,7
@@
setup(void) {
CWOverrideRedirect | CWBackPixmap | CWEventMask, &wa);
grabkeyboard();
-
setcanvas
(dc, mw, mh);
+
resizedraw
(dc, mw, mh);
inputw = MIN(inputw, mw/3);
promptw = prompt ? MIN(textw(dc, prompt), mw/5) : 0;
XMapRaised(dc->dpy, win);