summary refs log tree commit diff
path: root/mousefunc.c
diff options
context:
space:
mode:
authorokan <okan>2013-07-08 18:39:20 +0000
committerokan <okan>2013-07-08 18:39:20 +0000
commit9bf2498d7e388a7c0a05e3850b5235c5bb381d47 (patch)
tree6a8b13a79062b10065d1937f8b5044e17a03163b /mousefunc.c
parent1f244fe29c7234b05614f4040208f60052a8d377 (diff)
downloadcwm-9bf2498d7e388a7c0a05e3850b5235c5bb381d47.tar.gz
cwm-9bf2498d7e388a7c0a05e3850b5235c5bb381d47.tar.xz
cwm-9bf2498d7e388a7c0a05e3850b5235c5bb381d47.zip
add support for mouse based group {,r}cycle; from Rodrigo Mosconi. not
bound by default.
Diffstat (limited to 'mousefunc.c')
-rw-r--r--mousefunc.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/mousefunc.c b/mousefunc.c
index 109b655..40fae3f 100644
--- a/mousefunc.c
+++ b/mousefunc.c
@@ -202,6 +202,18 @@ mousefunc_client_hide(struct client_ctx *cc, void *arg)
 }
 
 void
+mousefunc_client_cyclegroup(struct client_ctx *cc, void *arg)
+{
+	group_cycle(cc->sc, CWM_CYCLE);
+}
+
+void
+mousefunc_client_rcyclegroup(struct client_ctx *cc, void *arg)
+{
+	group_cycle(cc->sc, CWM_RCYCLE);
+}
+
+void
 mousefunc_menu_group(struct client_ctx *cc, void *arg)
 {
 	group_menu(arg);