if compiled without XINERAMA support assume 1 monitor by default (n = 1)

This commit is contained in:
Anselm R Garbe 2009-06-23 16:28:37 +01:00
parent a3bbdb1b7b
commit 38e9b67026

2
dwm.c
View File

@ -1632,7 +1632,7 @@ updatebarpos(Monitor *m) {
void void
updategeom(void) { updategeom(void) {
int i, n; int i, n = 1;
Client *c; Client *c;
Monitor *newmons = NULL, *m; Monitor *newmons = NULL, *m;