reducing focus calls (sanders patch) d39d0005
Anselm R. Garbe · 2006-09-04 10:10 1 file(s) · +4 −6
view.c +4 −6
68 68
		else
69 69
			ban(c);
70 70
	}
71 -
	if(!(fc = sel) || !isvisible(fc))
72 -
		fc = getnext(clients);
73 -
	focus(fc);
71 +
	if(!sel || !isvisible(sel))
72 +
		focus(getnext(clients));
74 73
	restack();
75 74
}
76 75
131 130
		else
132 131
			ban(c);
133 132
	}
134 -
	if(!(fc = sel) || !isvisible(fc))
135 -
		fc = getnext(clients);
136 -
	focus(fc);
133 +
	if(!sel || !isvisible(sel))
134 +
		focus(getnext(clients));
137 135
	restack();
138 136
}
139 137