From 38e9b67026003fdce065ec220d2195232c881538 Mon Sep 17 00:00:00 2001 From: Anselm R Garbe Date: Tue, 23 Jun 2009 16:28:37 +0100 Subject: if compiled without XINERAMA support assume 1 monitor by default (n = 1) --- dwm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dwm.c') 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; -- cgit 1.4.1-2-gfad0