layout: Fix tile bug (when you close the last tiled and !sel)

This commit is contained in:
Martin Duquesnoy
2008-10-16 19:11:49 +02:00
parent 4e33b9c3ae
commit d875bddb43
2 changed files with 2 additions and 4 deletions

View File

@@ -481,8 +481,7 @@ unmapnotify(XEvent ev)
Client *c; Client *c;
if((c = getclient(ev.xunmap.window))) if((c = getclient(ev.xunmap.window)))
if(!c->hide) client_unmanage(c);
client_unmanage(c);
return; return;
} }

View File

@@ -43,8 +43,7 @@ arrange(void)
else else
client_hide(c); client_hide(c);
if(sel) tags[seltag].layout.func();
tags[seltag].layout.func();
if(selbytag[seltag]) if(selbytag[seltag])
client_focus(selbytag[seltag]); client_focus(selbytag[seltag]);