about summary refs log tree commit diff stats
path: root/dwm.c
diff options
context:
space:
mode:
Diffstat (limited to 'dwm.c')
-rw-r--r--dwm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dwm.c b/dwm.c
index 4d5a9b9..de20b36 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);
 }