From a6afc5f36998efb9a564b3a22d2e36a89812af3d Mon Sep 17 00:00:00 2001 From: okan Date: Mon, 19 May 2008 17:11:19 +0000 Subject: 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@ --- kbfunc.c | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) (limited to 'kbfunc.c') diff --git a/kbfunc.c b/kbfunc.c index 7c98c37..e4a3574 100644 --- a/kbfunc.c +++ b/kbfunc.c @@ -15,7 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $Id: kbfunc.c,v 1.24 2008/05/19 15:17:50 oga Exp $ + * $Id: kbfunc.c,v 1.25 2008/05/19 17:11:19 okan Exp $ */ #include @@ -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 -- cgit v1.2.3-2-gb3c3