From: Anselm R Garbe Date: Tue, 23 Jun 2009 15:28:37 +0000 (+0100) Subject: if compiled without XINERAMA support assume 1 monitor by default (n = 1) X-Git-Url: https://git.danieliu.xyz/?a=commitdiff_plain;h=38e9b67026003fdce065ec220d2195232c881538;p=dwm.git if compiled without XINERAMA support assume 1 monitor by default (n = 1) --- 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;