summary refs log tree commit diff
path: root/group.c
diff options
context:
space:
mode:
authorokan <okan>2014-09-07 20:57:26 +0000
committerokan <okan>2014-09-07 20:57:26 +0000
commit5b46f0f7d8c6bb97f6eef28ee21d762fb65e9c88 (patch)
treef818083d99a4113fe47858dfb5a92604cb92e110 /group.c
parent3d12b6d1d940d40c1298ae03e519c8ac4a9a1407 (diff)
downloadcwm-5b46f0f7d8c6bb97f6eef28ee21d762fb65e9c88.tar.gz
cwm-5b46f0f7d8c6bb97f6eef28ee21d762fb65e9c88.tar.xz
cwm-5b46f0f7d8c6bb97f6eef28ee21d762fb65e9c88.zip
Add screen_ctx to group_ctx, and populate on init.
Diffstat (limited to 'group.c')
-rw-r--r--group.c1
1 files changed, 1 insertions, 0 deletions
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;