summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnselm R Garbe <garbeam@gmail.com>2008-02-22 10:15:59 +0000
committerAnselm R Garbe <garbeam@gmail.com>2008-02-22 10:15:59 +0000
commit8e0f8ffcc63f27bd2e2c666b4e889a3056b3b70b (patch)
treedea4d81b8fc01afba3e604dabe48ee8103bb638b
parentdd218235369d12ad9d71269db11db05c464a09e0 (diff)
crash fix
-rw-r--r--dwm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dwm.c b/dwm.c
index 4d5a9b92..de20b368 100644
--- a/dwm.c
+++ b/dwm.c
@@ -313,7 +313,7 @@ arrange(Monitor *m) {
m->layout->arrange(m);
else
for(i = 0; i < mcount; i++)
- m->layout->arrange(&monitors[i]);
+ monitors[i].layout->arrange(&monitors[i]);
focus(NULL);
restack(m);
}