summary refs log tree commit diff
path: root/kbfunc.c
diff options
context:
space:
mode:
authorokan <okan>2008-05-19 17:11:19 +0000
committerokan <okan>2008-05-19 17:11:19 +0000
commitd347aa3d9a1ad8fb01286c51027c411f83d06a9c (patch)
tree895dd6986c36d08a1578a542b417514dd5756d6d /kbfunc.c
parent43d6e147c2e0998f3e256fd2b90d85fd079429f4 (diff)
downloadcwm-d347aa3d9a1ad8fb01286c51027c411f83d06a9c.tar.gz
cwm-d347aa3d9a1ad8fb01286c51027c411f83d06a9c.tar.xz
cwm-d347aa3d9a1ad8fb01286c51027c411f83d06a9c.zip
as done with cycle/rcycle, make prev/next group switching one kbfuncs
and use a flag; adjusted to match and rename to {r,}cycle.

"ok, since i came up with the same thing" oga@
Diffstat (limited to 'kbfunc.c')
-rw-r--r--kbfunc.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/kbfunc.c b/kbfunc.c
index 11f2262..3f65650 100644
--- a/kbfunc.c
+++ b/kbfunc.c
@@ -412,15 +412,9 @@ kbfunc_client_group(struct client_ctx *cc, void *arg)
 }
 
 void
-kbfunc_client_nextgroup(struct client_ctx *cc, void *arg)
+kbfunc_client_cyclegroup(struct client_ctx *cc, void *arg)
 {
-	group_slide(1);
-}
-
-void
-kbfunc_client_prevgroup(struct client_ctx *cc, void *arg)
-{
-	group_slide(0);
+	group_cycle((int)arg);
 }
 
 void