diff options
author | okan | 2008-05-19 17:11:19 +0000 |
---|---|---|
committer | okan | 2008-05-19 17:11:19 +0000 |
commit | a6afc5f36998efb9a564b3a22d2e36a89812af3d (patch) | |
tree | 2e751b6dfe83e12d724e9ac56d1f8e980d446fe8 /kbfunc.c | |
parent | a47b4ccaab4803eba1fb0774e26abd3ed06f9fd4 (diff) | |
download | cwm-a6afc5f36998efb9a564b3a22d2e36a89812af3d.tar.gz |
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 '')
-rw-r--r-- | kbfunc.c | 12 |
1 files changed, 3 insertions, 9 deletions
@@ -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 <paths.h> @@ -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 |