From 65942c1a5b78bc5086572b81d2f9b54aae2c862d Mon Sep 17 00:00:00 2001 From: Okan Demirmen Date: Mon, 20 Jan 2014 22:31:54 +0000 Subject: Use argument to pass down flags for mousefunc cyclegroup; removes rcyclegroup wrapper need - now similar to kbfunc. --- app/cwm/mousefunc.c | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'app/cwm/mousefunc.c') diff --git a/app/cwm/mousefunc.c b/app/cwm/mousefunc.c index fc4399407..4a9829543 100644 --- a/app/cwm/mousefunc.c +++ b/app/cwm/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.67 2014/01/20 21:34:32 okan Exp $ + * $OpenBSD: mousefunc.c,v 1.68 2014/01/20 22:31:53 okan Exp $ */ #include @@ -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 -- cgit v1.2.3