all repos — dwm @ d39d00057ce609e726b2769f953485dc4c7403cc

my dwm build

reducing focus calls (sanders patch)
Anselm R. Garbe arg@10kloc.org
Mon, 04 Sep 2006 10:10:08 +0200
commit

d39d00057ce609e726b2769f953485dc4c7403cc

parent

26157e6973f240a9b5ee407b9d2d5eca9358844f

1 files changed, 4 insertions(+), 6 deletions(-)

jump to
M view.cview.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(); }