about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAnselm R Garbe <anselm@garbe.us>2009-06-23 16:28:37 +0100
committerAnselm R Garbe <anselm@garbe.us>2009-06-23 16:28:37 +0100
commit38e9b67026003fdce065ec220d2195232c881538 (patch)
treee73c1f08027483b0b9df133940a76e6ca9504be9
parenta3bbdb1b7bb30d3f11c24bf74414ee11f745688d (diff)
downloaddwm-38e9b67026003fdce065ec220d2195232c881538.tar.gz
if compiled without XINERAMA support assume 1 monitor by default (n = 1)
-rw-r--r--dwm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dwm.c b/dwm.c
index 66193ef..e0a6286 100644
--- 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;