aboutsummaryrefslogtreecommitdiffstats
path: root/mousefunc.c
diff options
context:
space:
mode:
authorokan2014-01-20 22:31:53 +0000
committerokan2014-01-20 22:31:53 +0000
commit4b339afeffe5ce7c19c1c9ea0217b45b386708d1 (patch)
tree0874ca5f6f9c1e336bab7f0d706e840a2b214e55 /mousefunc.c
parenta142331514fc5e300b8bbc97cc5bc71ca7080d7b (diff)
downloadcwm-4b339afeffe5ce7c19c1c9ea0217b45b386708d1.tar.gz
Use argument to pass down flags for mousefunc cyclegroup; removes
rcyclegroup wrapper need - now similar to kbfunc.
Diffstat (limited to '')
-rw-r--r--mousefunc.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/mousefunc.c b/mousefunc.c
index fc43994..4a98295 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.67 2014/01/20 21:34:32 okan Exp $
+ * $OpenBSD: mousefunc.c,v 1.68 2014/01/20 22:31:53 okan Exp $
*/
#include <sys/param.h>
@@ -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