Stash Class and WM Hints in client_ctx

This commit is contained in:
okan
2013-12-11 14:09:21 +00:00
parent 1d68f0683a
commit 23a1abdd8a
4 changed files with 23 additions and 28 deletions

View File

@@ -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;
}