diff options
author | schwarze <schwarze> | 2010-09-25 21:58:18 +0000 |
---|---|---|
committer | schwarze <schwarze> | 2010-09-25 21:58:18 +0000 |
commit | a119fe524084febd62f31f7d030fabf081b1e9b9 (patch) | |
tree | bdd825eccdd788b90508d173f37d44556aa4b16d /search.c | |
parent | f2e8fad75c93c8af42c80c3eab769632fab0f3c4 (diff) | |
parent | 1f310d57e2284d7e6bf1edc947a7f263baef8d5d (diff) | |
download | cwm-ignorewarp.tar.gz cwm-ignorewarp.tar.xz cwm-ignorewarp.zip |
cvsimport ignorewarp
Diffstat (limited to 'search.c')
-rw-r--r-- | search.c | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/search.c b/search.c index 4383f5d..8cd6523 100644 --- a/search.c +++ b/search.c @@ -78,11 +78,7 @@ search_match_client(struct menu_q *menuq, struct menu_q *resultq, char *search) } } - /* - * See if there is a match on the window class - * name. - */ - + /* Then if there is a match on the window class name. */ if (tier < 0 && strsubmatch(search, cc->app_class, 0)) { cc->matchname = cc->app_class; tier = 3; @@ -99,9 +95,7 @@ search_match_client(struct menu_q *menuq, struct menu_q *resultq, char *search) if (cc == client_current() && tier < ntiers - 1) tier++; - /* - * Clients that are hidden get ranked one up. - */ + /* Clients that are hidden get ranked one up. */ if (cc->flags & CLIENT_HIDDEN && tier > 0) tier--; @@ -114,7 +108,6 @@ search_match_client(struct menu_q *menuq, struct menu_q *resultq, char *search) * Always make your current tierp the newly inserted * entry. */ - for (t = tier; t >= 0 && ((before = tierp[t]) == NULL); t--) ; |