diff options
author | okan <okan> | 2013-12-11 22:14:23 +0000 |
---|---|---|
committer | okan <okan> | 2013-12-11 22:14:23 +0000 |
commit | 140028e90538a48503962bb96be5ce62df73d917 (patch) | |
tree | 2416184e633a7c7419e05496ec76a73f3692790d /group.c | |
parent | 2951979832af2bf877d05942972f853141e6fd3f (diff) | |
parent | e767ac9c6556d04c346b89e8d47d721c38cc366e (diff) | |
download | cwm-140028e90538a48503962bb96be5ce62df73d917.tar.gz cwm-140028e90538a48503962bb96be5ce62df73d917.tar.xz cwm-140028e90538a48503962bb96be5ce62df73d917.zip |
cvsimport
Diffstat (limited to 'group.c')
-rw-r--r-- | group.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/group.c b/group.c index 85fc921..12a30e1 100644 --- a/group.c +++ b/group.c @@ -371,7 +371,7 @@ group_autogroup(struct client_ctx *cc) int no = -1, both_match = 0; long *grpno; - if (cc->app_class == NULL || cc->app_name == NULL) + if (cc->ch.res_class == NULL || cc->ch.res_name == NULL) return; if (xu_getprop(cc->win, ewmh[_NET_WM_DESKTOP], @@ -385,9 +385,9 @@ group_autogroup(struct client_ctx *cc) XFree(grpno); } else { TAILQ_FOREACH(aw, &Conf.autogroupq, entry) { - if (strcmp(aw->class, cc->app_class) == 0) { + if (strcmp(aw->class, cc->ch.res_class) == 0) { if ((aw->name != NULL) && - (strcmp(aw->name, cc->app_name) == 0)) { + (strcmp(aw->name, cc->ch.res_name) == 0)) { no = aw->num; both_match = 1; } else if (aw->name == NULL && !both_match) |