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@ --- conf.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'conf.c') diff --git a/conf.c b/conf.c index 3c4adb9..35f3577 100644 --- a/conf.c +++ b/conf.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: conf.c,v 1.33 2008/05/19 15:17:50 oga Exp $ + * $Id: conf.c,v 1.34 2008/05/19 17:11:19 okan Exp $ */ #include "headers.h" @@ -115,8 +115,8 @@ conf_init(struct conf *c) conf_bindname(c, "CM-7", "group7"); conf_bindname(c, "CM-8", "group8"); conf_bindname(c, "CM-9", "group9"); - conf_bindname(c, "M-Right", "nextgroup"); - conf_bindname(c, "M-Left", "prevgroup"); + conf_bindname(c, "M-Right", "cyclegroup"); + conf_bindname(c, "M-Left", "rcyclegroup"); conf_bindname(c, "CM-g", "grouptoggle"); conf_bindname(c, "CM-f", "maximize"); conf_bindname(c, "CM-equal", "vmaximize"); @@ -223,8 +223,8 @@ struct { { "group8", kbfunc_client_group, 0, (void *)8 }, { "group9", kbfunc_client_group, 0, (void *)9 }, { "nogroup", kbfunc_client_nogroup, 0, 0 }, - { "nextgroup", kbfunc_client_nextgroup, 0, 0 }, - { "prevgroup", kbfunc_client_prevgroup, 0, 0 }, + { "cyclegroup", kbfunc_client_cyclegroup, 0, (void *)CWM_CYCLEGROUP }, + { "rcyclegroup", kbfunc_client_cyclegroup, 0, (void *)CWM_RCYCLEGROUP }, { "grouptoggle", kbfunc_client_grouptoggle, KBFLAG_NEEDCLIENT, 0}, { "maximize", kbfunc_client_maximize, KBFLAG_NEEDCLIENT, 0 }, { "vmaximize", kbfunc_client_vmaximize, KBFLAG_NEEDCLIENT, 0 }, -- cgit v1.2.3-2-gb3c3