From: Anselm R Garbe Date: Fri, 22 Feb 2008 10:15:59 +0000 (+0000) Subject: crash fix X-Git-Url: https://git.danieliu.xyz/?a=commitdiff_plain;h=8e0f8ffcc63f27bd2e2c666b4e889a3056b3b70b;p=dwm.git crash fix --- 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); }