]> git.armaanb.net Git - dwm.git/blobdiff - util.h
fix fullscreen clients not resized on X display resolution change
[dwm.git] / util.h
diff --git a/util.h b/util.h
index 033700cadd75205410e46a6f57aa9d33f0ab1511..cded0434301b89014a41219601a8f93e206eea24 100644 (file)
--- a/util.h
+++ b/util.h
@@ -2,5 +2,7 @@
 
 #define MAX(A, B)               ((A) > (B) ? (A) : (B))
 #define MIN(A, B)               ((A) < (B) ? (A) : (B))
+#define BETWEEN(X, A, B)        ((A) <= (X) && (X) <= (B))
 
 void die(const char *errstr, ...);
+void *ecalloc(size_t, size_t);