all repos — dmenu @ 3c366bd73d1812845b0afc185ccaba9bbc871854

my build of dmenu

update to libdc, fixed utf8 bug
Connor Lane Smith cls@lubutu.com
Sat, 11 Sep 2010 13:37:01 +0100
commit

3c366bd73d1812845b0afc185ccaba9bbc871854

parent

75a19c35bd9c880bbfdc5cbf3fd807803d04de89

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

jump to
M READMEREADME

@@ -7,7 +7,7 @@ Requirements

------------ In order to build dmenu you need the Xlib header files. -You also need libdraw, available from http://hg.suckless.org/libdraw +You also need libdc, available from http://hg.suckless.org/libdraw Installation
M dmenu.cdmenu.c

@@ -10,7 +10,7 @@ #include <X11/Xutil.h>

#ifdef XINERAMA #include <X11/extensions/Xinerama.h> #endif -#include <draw.h> +#include <dc.h> #define INRECT(x,y,rx,ry,rw,rh) ((x) >= (rx) && (x) < (rx)+(rw) && (y) >= (ry) && (y) < (ry)+(rh)) #define MIN(a,b) ((a) < (b) ? (a) : (b))

@@ -230,7 +230,7 @@ }

} switch(ksym) { default: - if(isprint(*buf)) + if(!iscntrl(*buf)) insert(buf, strlen(buf)); break; case XK_Delete: