layout: Fix tile bug (when you close the last tiled and !sel)
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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]);
|
||||||
|
|||||||
Reference in New Issue
Block a user