summary refs log tree commit diff
path: root/mousefunc.c
diff options
context:
space:
mode:
authorokan <okan>2014-01-20 22:31:53 +0000
committerokan <okan>2014-01-20 22:31:53 +0000
commit34f43e3f2d34874cd2e7d8c81d6b8814f8292de6 (patch)
tree9e926164036d9df8cbbd51e421196ddc9a447c32 /mousefunc.c
parentd91571c567fc74c422d766fd2613c9ae23ccbc36 (diff)
downloadcwm-34f43e3f2d34874cd2e7d8c81d6b8814f8292de6.tar.gz
cwm-34f43e3f2d34874cd2e7d8c81d6b8814f8292de6.tar.xz
cwm-34f43e3f2d34874cd2e7d8c81d6b8814f8292de6.zip
Use argument to pass down flags for mousefunc cyclegroup; removes
rcyclegroup wrapper need - now similar to kbfunc.
Diffstat (limited to 'mousefunc.c')
-rw-r--r--mousefunc.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/mousefunc.c b/mousefunc.c
index b96517d..72953b2 100644
--- a/mousefunc.c
+++ b/mousefunc.c
@@ -200,13 +200,7 @@ mousefunc_client_hide(struct client_ctx *cc, union arg *arg)
 void
 mousefunc_client_cyclegroup(struct client_ctx *cc, union arg *arg)
 {
-	group_cycle(cc->sc, CWM_CYCLE);
-}
-
-void
-mousefunc_client_rcyclegroup(struct client_ctx *cc, union arg *arg)
-{
-	group_cycle(cc->sc, CWM_RCYCLE);
+	group_cycle(cc->sc, arg->i);
 }
 
 void