mirror of git://git.suckless.org/dwm
crash fix
This commit is contained in:
parent
dd21823536
commit
8e0f8ffcc6
2
dwm.c
2
dwm.c
|
@ -313,7 +313,7 @@ arrange(Monitor *m) {
|
||||||
m->layout->arrange(m);
|
m->layout->arrange(m);
|
||||||
else
|
else
|
||||||
for(i = 0; i < mcount; i++)
|
for(i = 0; i < mcount; i++)
|
||||||
m->layout->arrange(&monitors[i]);
|
monitors[i].layout->arrange(&monitors[i]);
|
||||||
focus(NULL);
|
focus(NULL);
|
||||||
restack(m);
|
restack(m);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue