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 /conf.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-- | conf.c | 10 |
1 files changed, 5 insertions, 5 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: 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 }, |