Browse Source

reducing focus calls (sanders patch)

main
Anselm R. Garbe 18 years ago
parent
commit
d39d00057c
1 changed files with 4 additions and 6 deletions
  1. +4
    -6
      view.c

+ 4
- 6
view.c View File

@ -68,9 +68,8 @@ dofloat(Arg *arg)
else else
ban(c); ban(c);
} }
if(!(fc = sel) || !isvisible(fc))
fc = getnext(clients);
focus(fc);
if(!sel || !isvisible(sel))
focus(getnext(clients));
restack(); restack();
} }
@ -131,9 +130,8 @@ dotile(Arg *arg)
else else
ban(c); ban(c);
} }
if(!(fc = sel) || !isvisible(fc))
fc = getnext(clients);
focus(fc);
if(!sel || !isvisible(sel))
focus(getnext(clients));
restack(); restack();
} }


Loading…
Cancel
Save