diff -r 7850bc57cbdc dwm.c --- a/dwm.c Wed May 28 10:45:18 2008 +0100 +++ b/dwm.c Thu May 29 16:00:40 2008 +0200 @@ -1719,7 +1719,7 @@ zoom(const void *arg) { zoom(const void *arg) { Client *c = sel; - if(!lt->arrange || sel->isfloating) + if(!sel || !lt->arrange || ismax || sel->isfloating) return; if(c == nexttiled(clients)) if(!c || !(c = nexttiled(c->next)))