diff options
author | okan | 2013-12-11 14:09:21 +0000 |
---|---|---|
committer | okan | 2013-12-11 14:09:21 +0000 |
commit | bca0ab294bb5e82fd02249f93c1f43ee6fd56934 (patch) | |
tree | 2893bc829f94e2a7dca395a5231697b675282b4b /search.c | |
parent | 0dd1308bf364ed7c2de8b4c81ded186922c7bc8b (diff) | |
download | cwm-bca0ab294bb5e82fd02249f93c1f43ee6fd56934.tar.gz |
Stash Class and WM Hints in client_ctx
Diffstat (limited to 'search.c')
-rw-r--r-- | search.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -15,7 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $OpenBSD: search.c,v 1.33 2013/12/08 13:51:38 okan Exp $ + * $OpenBSD: search.c,v 1.34 2013/12/11 14:09:21 okan Exp $ */ #include <sys/param.h> @@ -85,8 +85,8 @@ search_match_client(struct menu_q *menuq, struct menu_q *resultq, char *search) } /* 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; + if (tier < 0 && strsubmatch(search, cc->ch.res_class, 0)) { + cc->matchname = cc->ch.res_class; tier = 3; } |