]> git.armaanb.net Git - dwm.git/commitdiff
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 66193ef0cc5d408c740e34f2a928580dd158e693..e0a6286251107fc03e005d7a781a81843dba1131 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;