summary refs log tree commit diff
path: root/group.c
diff options
context:
space:
mode:
authorokan <okan>2015-08-27 17:43:44 +0000
committerokan <okan>2015-08-27 17:43:44 +0000
commit5391659629a7fa75b7447e824e56e179c10ca642 (patch)
treebd84af97a55a4136bd5e55ecfe7e0a226325b226 /group.c
parent6d53091429e074e0d5bd504a9001016106d2d1ac (diff)
downloadcwm-5391659629a7fa75b7447e824e56e179c10ca642.tar.gz
cwm-5391659629a7fa75b7447e824e56e179c10ca642.tar.xz
cwm-5391659629a7fa75b7447e824e56e179c10ca642.zip
Re-add lost chunk in group_cycle from r1.113.
Diffstat (limited to 'group.c')
-rw-r--r--group.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/group.c b/group.c
index 5482d70..3cb5e79 100644
--- a/group.c
+++ b/group.c
@@ -284,6 +284,9 @@ group_cycle(struct screen_ctx *sc, int flags)
 			group_hide(newgc);
 	}
 
+	if (showgroup == NULL)
+		return;
+
 	group_hide(oldgc);
 
 	if (group_holds_only_hidden(showgroup))