diff -r 052657ff2e7b -r 1eb2eb405653 view.c --- a/view.c Mon Sep 04 08:55:49 2006 +0200 +++ b/view.c Mon Sep 04 10:10:08 2006 +0200 @@ -68,9 +68,8 @@ else ban(c); } - if(!(fc = sel) || !isvisible(fc)) - fc = getnext(clients); - focus(fc); + if(!sel || !isvisible(sel)) + focus(getnext(clients)); restack(); } @@ -131,9 +130,8 @@ else ban(c); } - if(!(fc = sel) || !isvisible(fc)) - fc = getnext(clients); - focus(fc); + if(!sel || !isvisible(sel)) + focus(getnext(clients)); restack(); }