From 4cb9b524e74bf3eb9715b232c8a0261624e35869 Mon Sep 17 00:00:00 2001 From: okan Date: Mon, 3 Oct 2016 14:42:34 +0000 Subject: Defaults are split between defines and conf_init(); normalize these, as well as give 'sticky' groups its own variable. --- client.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'client.c') diff --git a/client.c b/client.c index 6e9fa6e..9268d05 100644 --- a/client.c +++ b/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 @@ -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); -- cgit v1.2.3-2-gb3c3