From bca0ab294bb5e82fd02249f93c1f43ee6fd56934 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 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'search.c') diff --git a/search.c b/search.c index d0bf4f9..6f03a4b 100644 --- a/search.c +++ b/search.c @@ -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 @@ -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 v1.2.3-2-gb3c3