if compiled without XINERAMA support assume 1 monitor by default (n = 1)
authorAnselm R Garbe <anselm@garbe.us>
Tue, 23 Jun 2009 15:28:37 +0000 (16:28 +0100)
committerAnselm R Garbe <anselm@garbe.us>
Tue, 23 Jun 2009 15:28:37 +0000 (16:28 +0100)
dwm.c

diff --git a/dwm.c b/dwm.c
index 66193ef..e0a6286 100644 (file)
--- a/dwm.c
+++ b/dwm.c
@@ -1632,7 +1632,7 @@ updatebarpos(Monitor *m) {
 
 void
 updategeom(void) {
-       int i, n;
+       int i, n = 1;
        Client *c;
        Monitor *newmons = NULL, *m;