Hi,
If I press Meta+Return in an empty tag dwm crash, due to zoom() function don't
check if some client is selected. The attached patch should solve this
problem. Furthermore, zoom() returns if ismax==true, now.
Kind regards,
Nibble
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)))