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@
This commit is contained in:
okan
2008-05-19 17:11:19 +00:00
parent 43d6e147c2
commit d347aa3d9a
5 changed files with 21 additions and 28 deletions

View File

@ -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