commit 1b248269c6e37104ec5e2dcea8bc032d5ac4142c
parent 8f00793a05c1c19ff04b70eadb31d0c0bc79e484
Author: Anselm R. Garbe <garbeam@wmii.de>
Date: Wed, 26 Apr 2006 19:11:59 +0200
speed hack
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cmd/wm/view.c b/cmd/wm/view.c
@@ -386,7 +386,7 @@ update_views()
for(i = 0; i < view.size; i++) {
Bool only_wildcards = True;
- for(j = 0; j < client.size; j++) {
+ for(j = 0; only_wildcards && j < client.size; j++) {
Client *c = client.data[j];
if(is_view_of(c, view.data[i]) && !strchr(c->tags, '*'))
only_wildcards = False;