summaryrefslogtreecommitdiffstats
path: root/dwm.c
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 /dwm.c
parentsome more refactoring, bar toggle fixes (diff)
downloaddwm-38e9b67026003fdce065ec220d2195232c881538.tar.gz
dwm-38e9b67026003fdce065ec220d2195232c881538.zip
if compiled without XINERAMA support assume 1 monitor by default (n = 1)
Diffstat (limited to '')
-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) {
1632 1632
1633void 1633void
1634updategeom(void) { 1634updategeom(void) {
1635 int i, n; 1635 int i, n = 1;
1636 Client *c; 1636 Client *c;
1637 Monitor *newmons = NULL, *m; 1637 Monitor *newmons = NULL, *m;
1638 1638