about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAnselm R. Garbe <garbeam@gmail.com>2007-09-22 08:57:24 +0200
committerAnselm R. Garbe <garbeam@gmail.com>2007-09-22 08:57:24 +0200
commit24dae7d7e35c9c52115ec4bf5f30fe1cc4a5c296 (patch)
treee4c714fc22acc2b1ae200c031fb38469cd660ac7
parentfa1ce22bc401567d7dadb10aa82672611293cc57 (diff)
downloaddwm-24dae7d7e35c9c52115ec4bf5f30fe1cc4a5c296.tar.gz
cosmetic fix 4.5
-rw-r--r--dwm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/dwm.c b/dwm.c
index c555a62..f28cdf8 100644
--- a/dwm.c
+++ b/dwm.c
@@ -1418,6 +1418,7 @@ setmwfact(const char *arg) {
 
 void
 setup(void) {
+	int d;
 	unsigned int i, j, mask;
 	Window w;
 	XModifierKeymap *modmap;
@@ -1507,7 +1508,7 @@ setup(void) {
 		XSetFont(dpy, dc.gc, dc.font.xfont->fid);
 
 	/* multihead support */
-	selscreen = XQueryPointer(dpy, root, &w, &w, &i, &i, &i, &i, &mask);
+	selscreen = XQueryPointer(dpy, root, &w, &w, &d, &d, &d, &d, &mask);
 }
 
 void