remove group in client_delete directly.
This commit is contained in:
11
group.c
11
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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user