JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
crash fix
[dwm.git] / 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);
 }