fixed
Anselm R.Garbe arg@10ksloc.org
Mon, 14 Aug 2006 17:48:54 +0200
M
client.c
→
client.c
@@ -49,10 +49,12 @@
void focus(Client *c) { - if (!issel) - return; Client *old = sel; + if (!issel) + return; + if(sel && sel->ismax) + togglemax(NULL); sel = c; if(old && old != c) drawtitle(old);@@ -68,9 +70,6 @@
if(!sel) return; - if(sel->ismax) - togglemax(NULL); - if(!(c = getnext(sel->next))) c = getnext(clients); if(c) {@@ -86,9 +85,6 @@ Client *c;
if(!sel) return; - - if(sel->ismax) - togglemax(NULL); if(!(c = getprev(sel->prev))) { for(c = clients; c && c->next; c = c->next);