Layout: Fix arrange

This commit is contained in:
Martin Duquesnoy 2011-06-10 00:01:19 +02:00
parent be5de68e93
commit 56ae367eee

View File

@ -43,10 +43,13 @@ arrange(int screen, Bool update_layout)
screen = screen_get_sel();
for(c = clients; c; c = c->next)
if(!ishide(c, screen))
client_unhide(c);
else
client_hide(c);
if(c->screen == screen)
{
if(!ishide(c, screen))
client_unhide(c);
else
client_hide(c);
}
if(tags[screen][seltag[screen]].layout.func)
{