these have nothing to do with 'sticky', but rather group membership; rename.

This commit is contained in:
okan 2014-09-27 19:04:32 +00:00
parent 319d90099d
commit e9dbd150ea
6 changed files with 8 additions and 11 deletions

View File

@ -414,8 +414,8 @@ void group_init(struct screen_ctx *);
void group_movetogroup(struct client_ctx *, int);
void group_only(struct screen_ctx *, int);
void group_show(struct group_ctx *);
void group_sticky_toggle_enter(struct client_ctx *);
void group_sticky_toggle_exit(struct client_ctx *);
void group_toggle_membership_enter(struct client_ctx *);
void group_toggle_membership_leave(struct client_ctx *);
void group_update_names(struct screen_ctx *);
void search_match_client(struct menu_q *, struct menu_q *,

View File

@ -696,7 +696,7 @@ client_cycle_leave(struct screen_ctx *sc)
if ((cc = client_current())) {
client_mtf(cc);
group_sticky_toggle_exit(cc);
group_toggle_membership_leave(cc);
XUngrabKeyboard(X_Dpy, CurrentTime);
}
}

View File

@ -162,11 +162,8 @@ group_movetogroup(struct client_ctx *cc, int idx)
group_assign(gc, cc);
}
/*
* Colouring for groups upon add/remove.
*/
void
group_sticky_toggle_enter(struct client_ctx *cc)
group_toggle_membership_enter(struct client_ctx *cc)
{
struct screen_ctx *sc = cc->sc;
struct group_ctx *gc = sc->group_active;
@ -183,7 +180,7 @@ group_sticky_toggle_enter(struct client_ctx *cc)
}
void
group_sticky_toggle_exit(struct client_ctx *cc)
group_toggle_membership_leave(struct client_ctx *cc)
{
cc->flags &= ~CLIENT_HIGHLIGHT;
client_draw_border(cc);

View File

@ -438,7 +438,7 @@ kbfunc_client_grouptoggle(struct client_ctx *cc, union arg *arg)
XGrabKeyboard(X_Dpy, cc->win, True,
GrabModeAsync, GrabModeAsync, CurrentTime);
group_sticky_toggle_enter(cc);
group_toggle_membership_enter(cc);
}
void

View File

@ -174,7 +174,7 @@ mousefunc_client_move(struct client_ctx *cc, union arg *arg)
void
mousefunc_client_grouptoggle(struct client_ctx *cc, union arg *arg)
{
group_sticky_toggle_enter(cc);
group_toggle_membership_enter(cc);
}
void

View File

@ -251,7 +251,7 @@ xev_handle_buttonrelease(XEvent *ee)
struct client_ctx *cc;
if ((cc = client_current()))
group_sticky_toggle_exit(cc);
group_toggle_membership_leave(cc);
}
static void