summary refs log tree commit diff
path: root/search.c
diff options
context:
space:
mode:
authorokan <okan>2013-12-11 14:09:21 +0000
committerokan <okan>2013-12-11 14:09:21 +0000
commit23a1abdd8ac7025ff55e287bd4437594618781d2 (patch)
tree74e2c780d9febb278c8eb1a96ede249109760726 /search.c
parent1d68f0683a784420b5a6ec0b8f1622b6ccd5fcc7 (diff)
downloadcwm-23a1abdd8ac7025ff55e287bd4437594618781d2.tar.gz
cwm-23a1abdd8ac7025ff55e287bd4437594618781d2.tar.xz
cwm-23a1abdd8ac7025ff55e287bd4437594618781d2.zip
Stash Class and WM Hints in client_ctx
Diffstat (limited to 'search.c')
-rw-r--r--search.c4
1 files changed, 2 insertions, 2 deletions
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;
 		}