aboutsummaryrefslogtreecommitdiffstats
path: root/client.c
diff options
context:
space:
mode:
authorokan2016-10-03 14:42:34 +0000
committerokan2016-10-03 14:42:34 +0000
commit4cb9b524e74bf3eb9715b232c8a0261624e35869 (patch)
treec5c781a73db46ca1579c5bea9539d497ed36fa78 /client.c
parent81d2fa85214b3c84c60b29cf852fd6618ebaacc9 (diff)
downloadcwm-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 'client.c')
-rw-r--r--client.c4
1 files changed, 2 insertions, 2 deletions
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 <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);