summary refs log tree commit diff
path: root/client.c
diff options
context:
space:
mode:
authorokan <okan>2016-10-03 14:42:34 +0000
committerokan <okan>2016-10-03 14:42:34 +0000
commit03f5dc219e20edbcf4b7eac1f733a188ab8f7c29 (patch)
treef0bde6dbe80ee735314c5a1136c8011d6bda14b0 /client.c
parent792f85cde97742d0c580ee2354044870d0f8754f (diff)
downloadcwm-03f5dc219e20edbcf4b7eac1f733a188ab8f7c29.tar.gz
cwm-03f5dc219e20edbcf4b7eac1f733a188ab8f7c29.tar.xz
cwm-03f5dc219e20edbcf4b7eac1f733a188ab8f7c29.zip
Defaults are split between defines and conf_init(); normalize these, as
well as give 'sticky' groups its own variable.
Diffstat (limited to 'client.c')
-rw-r--r--client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/client.c b/client.c
index 4aa69b9..1de9290 100644
--- a/client.c
+++ b/client.c
@@ -133,7 +133,7 @@ client_init(Window win, struct screen_ctx *sc, int active)
 			goto out;
 		if (group_autogroup(cc))
 			goto out;
-		if (Conf.flags & CONF_STICKY_GROUPS)
+		if (Conf.stickygroups)
 			group_assign(sc->group_active, cc);
 		else
 			group_assign(NULL, cc);