Ver Fonte

crash fix

Anselm R Garbe há 17 anos atrás
pai
commit
8e0f8ffcc6
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      dwm.c

+ 1 - 1
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);
 }