aboutsummaryrefslogtreecommitdiffstats
path: root/search.c
diff options
context:
space:
mode:
authorokan2013-12-11 14:09:21 +0000
committerokan2013-12-11 14:09:21 +0000
commitbca0ab294bb5e82fd02249f93c1f43ee6fd56934 (patch)
tree2893bc829f94e2a7dca395a5231697b675282b4b /search.c
parent0dd1308bf364ed7c2de8b4c81ded186922c7bc8b (diff)
downloadcwm-bca0ab294bb5e82fd02249f93c1f43ee6fd56934.tar.gz
Stash Class and WM Hints in client_ctx
Diffstat (limited to 'search.c')
-rw-r--r--search.c6
1 files changed, 3 insertions, 3 deletions
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 <sys/param.h>
@@ -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;
}