diff options
author | okan | 2013-07-08 18:39:20 +0000 |
---|---|---|
committer | okan | 2013-07-08 18:39:20 +0000 |
commit | ee5ad9e95b20897654c9830178f8f707b65adbe8 (patch) | |
tree | 62b269e17ff50d137c5d39262d73d2e596f37b47 /mousefunc.c | |
parent | 63e9ed547d2b6c27553b71a57d79d8afce15e2c5 (diff) | |
download | cwm-ee5ad9e95b20897654c9830178f8f707b65adbe8.tar.gz |
add support for mouse based group {,r}cycle; from Rodrigo Mosconi. not
bound by default.
Diffstat (limited to '')
-rw-r--r-- | mousefunc.c | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/mousefunc.c b/mousefunc.c index c44c3fc..366ad9e 100644 --- a/mousefunc.c +++ b/mousefunc.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: mousefunc.c,v 1.54 2013/07/08 18:19:22 okan Exp $ + * $OpenBSD: mousefunc.c,v 1.55 2013/07/08 18:39:20 okan Exp $ */ #include <sys/param.h> @@ -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); |