about summary refs log tree commit diff
path: root/group.c
diff options
context:
space:
mode:
authorokan <okan>2013-05-06 16:03:11 +0000
committerokan <okan>2013-05-06 16:03:11 +0000
commit1db7cc2a18d2d3665a4d589d9bc39312eca42268 (patch)
tree90fe41c80e438a5ff4a189b65e553ddd8ca6a6c8 /group.c
parent27854d9061eab7da9ef10bb36b9b8c7f971baebe (diff)
downloadcwm-1db7cc2a18d2d3665a4d589d9bc39312eca42268.tar.gz
cwm-1db7cc2a18d2d3665a4d589d9bc39312eca42268.tar.xz
cwm-1db7cc2a18d2d3665a4d589d9bc39312eca42268.zip
remove group in client_delete directly.
Diffstat (limited to 'group.c')
-rw-r--r--group.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/group.c b/group.c
index d73f8c4..f7a0a2d 100644
--- a/group.c
+++ b/group.c
@@ -308,17 +308,6 @@ group_cycle(struct screen_ctx *sc, int flags)
 		group_setactive(sc, showgroup->shortcut);
 }
 
-/* called when a client is deleted */
-void
-group_client_delete(struct client_ctx *cc)
-{
-	if (cc->group == NULL)
-		return;
-
-	TAILQ_REMOVE(&cc->group->clients, cc, group_entry);
-	cc->group = NULL; /* he he */
-}
-
 void
 group_menu(XButtonEvent *e)
 {