From 5b46f0f7d8c6bb97f6eef28ee21d762fb65e9c88 Mon Sep 17 00:00:00 2001 From: okan Date: Sun, 7 Sep 2014 20:57:26 +0000 Subject: Add screen_ctx to group_ctx, and populate on init. --- group.c | 1 + 1 file changed, 1 insertion(+) (limited to 'group.c') diff --git a/group.c b/group.c index dcea84f..aad482d 100644 --- a/group.c +++ b/group.c @@ -124,6 +124,7 @@ group_init(struct screen_ctx *sc) for (i = 0; i < CALMWM_NGROUPS; i++) { gc = xcalloc(1, sizeof(*gc)); + gc->sc = sc; TAILQ_INIT(&gc->clients); gc->name = xstrdup(num_to_name[i]); gc->num = i; -- cgit 1.4.1