aboutsummaryrefslogtreecommitdiffstats
path: root/kbfunc.c
diff options
context:
space:
mode:
authorokan2008-05-19 17:11:19 +0000
committerokan2008-05-19 17:11:19 +0000
commita6afc5f36998efb9a564b3a22d2e36a89812af3d (patch)
tree2e751b6dfe83e12d724e9ac56d1f8e980d446fe8 /kbfunc.c
parenta47b4ccaab4803eba1fb0774e26abd3ed06f9fd4 (diff)
downloadcwm-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.c12
1 files changed, 3 insertions, 9 deletions
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 <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