reducing focus calls (sanders patch)
Anselm R. Garbe arg@10kloc.org
Mon, 04 Sep 2006 10:10:08 +0200
1 files changed,
4 insertions(+),
6 deletions(-)
jump to
M
view.c
→
view.c
@@ -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(); }