all repos — dmenu @ c7a8f17bd20d3ba05e38a91430c565579d9f55bb

my build of dmenu

new libdraw
Connor Lane Smith cls@lubutu.com
Thu, 19 Aug 2010 16:17:57 +0100
commit

c7a8f17bd20d3ba05e38a91430c565579d9f55bb

parent

128d4cf376beffbef82b93d6305ed7856eea10bd

1 files changed, 2 insertions(+), 2 deletions(-)

jump to
M dmenu.cdmenu.c

@@ -132,7 +132,7 @@ dc->x = mw - dc->w;

if(next) drawtext(dc, ">", normcol); } - commitdraw(dc, win, mw, mh); + mapdraw(dc, win, mw, mh); } char *

@@ -478,7 +478,7 @@ DefaultVisual(dc->dpy, screen),

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);