diff options
author | okan <okan> | 2013-07-08 18:39:20 +0000 |
---|---|---|
committer | okan <okan> | 2013-07-08 18:39:20 +0000 |
commit | 9bf2498d7e388a7c0a05e3850b5235c5bb381d47 (patch) | |
tree | 6a8b13a79062b10065d1937f8b5044e17a03163b /mousefunc.c | |
parent | 1f244fe29c7234b05614f4040208f60052a8d377 (diff) | |
download | cwm-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.c | 12 |
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); |