This commit is contained in:
Martin Duquesnoy 2008-10-26 15:52:51 +01:00
parent d6a5595c64
commit 4c9c324780
2 changed files with 2 additions and 4 deletions

View File

@ -41,7 +41,6 @@ client_pertag(int tag)
for(c = clients; c; c = c->next)
if(c->tag == tag)
++i;
efree(c);
return i;
}
@ -152,8 +151,6 @@ client_focus(Client *c)
if(!ishide(cc))
titlebar_update(cc);
efree(cc);
return;
}

View File

@ -280,7 +280,8 @@ uicb_tile_switch(uicb_t cmd)
return;
if((c = sel) == nexttiled(clients))
if(!(c = nexttiled(c->next)))
return; client_detach(c);
return;
client_detach(c);
client_attach(c);
client_focus(c);
arrange();