Merge group_toggle_membership_leave into the buttonrelease event and only do
border work for a group/ungroup action.
This commit is contained in:
9
group.c
9
group.c
@@ -170,7 +170,7 @@ group_movetogroup(struct client_ctx *cc, int idx)
|
||||
}
|
||||
|
||||
void
|
||||
group_toggle_membership_enter(struct client_ctx *cc)
|
||||
group_toggle_membership(struct client_ctx *cc)
|
||||
{
|
||||
struct screen_ctx *sc = cc->sc;
|
||||
struct group_ctx *gc = sc->group_active;
|
||||
@@ -186,13 +186,6 @@ group_toggle_membership_enter(struct client_ctx *cc)
|
||||
client_draw_border(cc);
|
||||
}
|
||||
|
||||
void
|
||||
group_toggle_membership_leave(struct client_ctx *cc)
|
||||
{
|
||||
cc->flags &= ~CLIENT_HIGHLIGHT;
|
||||
client_draw_border(cc);
|
||||
}
|
||||
|
||||
int
|
||||
group_holds_only_sticky(struct group_ctx *gc)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user