crash fix
authorAnselm R Garbe <garbeam@gmail.com>
Fri, 22 Feb 2008 10:15:59 +0000 (10:15 +0000)
committerAnselm R Garbe <garbeam@gmail.com>
Fri, 22 Feb 2008 10:15:59 +0000 (10:15 +0000)
dwm.c

diff --git a/dwm.c b/dwm.c
index 4d5a9b9..de20b36 100644 (file)
--- 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);
 }