aboutsummaryrefslogtreecommitdiffstats
path: root/group.c
diff options
context:
space:
mode:
authorokan2014-09-27 19:04:32 +0000
committerokan2014-09-27 19:04:32 +0000
commitb5481390e265e33e692a40dd261f165a7ed99e3e (patch)
tree3daa1d3937c138a3086f99bd4e132640f4af47b1 /group.c
parent86f32d09f2b57c63ec2f978125f7872cec312a00 (diff)
downloadcwm-b5481390e265e33e692a40dd261f165a7ed99e3e.tar.gz
these have nothing to do with 'sticky', but rather group membership; rename.
Diffstat (limited to 'group.c')
-rw-r--r--group.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/group.c b/group.c
index 5a7a29f..bbc3f39 100644
--- a/group.c
+++ b/group.c
@@ -16,7 +16,7 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
- * $OpenBSD: group.c,v 1.107 2014/09/27 18:57:11 okan Exp $
+ * $OpenBSD: group.c,v 1.108 2014/09/27 19:04:32 okan Exp $
*/
#include <sys/param.h>
@@ -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);