commit 0e1d04047024724af19316887ee029a8a8c6cdb1
parent 076f943a6e3f365d8191fee375c6859433ef738e
Author: Anselm R. Garbe <garbeam@wmii.de>
Date: Wed, 26 Apr 2006 19:03:04 +0200
fixed typo
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/cmd/wm/view.c b/cmd/wm/view.c
@@ -388,8 +388,7 @@ update_views()
Bool only_wildcards = True;
for(j = 0; j < client.size; j++) {
Client *c = client.data[i];
- if(is_view_of(client.data[j], view.data[i]))
- if(!strchr(c->tags, '*'))
+ if(is_view_of(c, view.data[i]) && !strchr(c->tags, '*'))
only_wildcards = False;
}
if(only_wildcards && view.size > 1) {