Browse Source

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

Anselm R Garbe 16 năm trước cách đây
mục cha
commit
38e9b67026
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      dwm.c

+ 1 - 1
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;