crash fix

This commit is contained in:
Anselm R Garbe 2008-02-22 10:15:59 +00:00
parent dd21823536
commit 8e0f8ffcc6

2
dwm.c
View file

@ -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);
}