sync updated drw code from dmenu

important:
- drw_rect: didn't use w and h, change the dwm code accordingly.
- drw_text: text is NULL is not allowed, use drw_rect().
This commit is contained in:
Hiltjo Posthuma 2015-10-20 23:34:49 +02:00
parent e3b7e1d620
commit 646b351cc7
5 changed files with 165 additions and 159 deletions

1
util.h
View file

@ -5,3 +5,4 @@
#define BETWEEN(X, A, B) ((A) <= (X) && (X) <= (B))
void die(const char *errstr, ...);
void *ecalloc(size_t, size_t);