layout: Fix tile bug (when you close the last tiled and !sel)
This commit is contained in:
parent
4e33b9c3ae
commit
d875bddb43
@ -481,8 +481,7 @@ unmapnotify(XEvent ev)
|
||||
Client *c;
|
||||
|
||||
if((c = getclient(ev.xunmap.window)))
|
||||
if(!c->hide)
|
||||
client_unmanage(c);
|
||||
client_unmanage(c);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
@ -43,8 +43,7 @@ arrange(void)
|
||||
else
|
||||
client_hide(c);
|
||||
|
||||
if(sel)
|
||||
tags[seltag].layout.func();
|
||||
tags[seltag].layout.func();
|
||||
|
||||
if(selbytag[seltag])
|
||||
client_focus(selbytag[seltag]);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user