diff options
author | okan | 2016-10-03 14:42:34 +0000 |
---|---|---|
committer | okan | 2016-10-03 14:42:34 +0000 |
commit | 4cb9b524e74bf3eb9715b232c8a0261624e35869 (patch) | |
tree | c5c781a73db46ca1579c5bea9539d497ed36fa78 /client.c | |
parent | 81d2fa85214b3c84c60b29cf852fd6618ebaacc9 (diff) | |
download | cwm-4cb9b524e74bf3eb9715b232c8a0261624e35869.tar.gz |
Defaults are split between defines and conf_init(); normalize these, as
well as give 'sticky' groups its own variable.
Diffstat (limited to '')
-rw-r--r-- | client.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); |