summaryrefslogtreecommitdiff
path: root/app/cwm/client.c
diff options
context:
space:
mode:
authorOkan Demirmen <okan@cvs.openbsd.org>2016-10-03 14:42:35 +0000
committerOkan Demirmen <okan@cvs.openbsd.org>2016-10-03 14:42:35 +0000
commit53809408f919ecfb920e6fc7591c8ba97efd904f (patch)
treeebc0bb827a0917eb5bf7da3dc088f6610a4e699d /app/cwm/client.c
parent6ef44e3bea4c8facd6af4a3d363c273d6f1947de (diff)
Defaults are split between defines and conf_init(); normalize these, as
well as give 'sticky' groups its own variable.
Diffstat (limited to 'app/cwm/client.c')
-rw-r--r--app/cwm/client.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/cwm/client.c b/app/cwm/client.c
index 6e9fa6eb4..9268d05f0 100644
--- a/app/cwm/client.c
+++ b/app/cwm/client.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: client.c,v 1.226 2016/10/03 13:41:30 okan Exp $
+ * $OpenBSD: client.c,v 1.227 2016/10/03 14:42:34 okan Exp $
*/
#include <sys/types.h>
@@ -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);