about summary refs log tree commit diff
path: root/search.c
diff options
context:
space:
mode:
authorokan <okan>2013-12-11 22:14:23 +0000
committerokan <okan>2013-12-11 22:14:23 +0000
commit140028e90538a48503962bb96be5ce62df73d917 (patch)
tree2416184e633a7c7419e05496ec76a73f3692790d /search.c
parent2951979832af2bf877d05942972f853141e6fd3f (diff)
parente767ac9c6556d04c346b89e8d47d721c38cc366e (diff)
downloadcwm-140028e90538a48503962bb96be5ce62df73d917.tar.gz
cwm-140028e90538a48503962bb96be5ce62df73d917.tar.xz
cwm-140028e90538a48503962bb96be5ce62df73d917.zip
cvsimport
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 b1621f9..bde8319 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;
 		}