diff options
author | okan <okan> | 2008-05-19 17:11:19 +0000 |
---|---|---|
committer | okan <okan> | 2008-05-19 17:11:19 +0000 |
commit | d347aa3d9a1ad8fb01286c51027c411f83d06a9c (patch) | |
tree | 895dd6986c36d08a1578a542b417514dd5756d6d /kbfunc.c | |
parent | 43d6e147c2e0998f3e256fd2b90d85fd079429f4 (diff) | |
download | cwm-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.c | 10 |
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 |