From 23a1abdd8ac7025ff55e287bd4437594618781d2 Mon Sep 17 00:00:00 2001 From: okan Date: Wed, 11 Dec 2013 14:09:21 +0000 Subject: Stash Class and WM Hints in client_ctx --- search.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'search.c') diff --git a/search.c b/search.c index 483a51b..9e59d87 100644 --- a/search.c +++ b/search.c @@ -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; } -- cgit 1.4.1