aboutsummaryrefslogtreecommitdiffstats
path: root/conf.c
diff options
context:
space:
mode:
authorokan2008-05-19 17:11:19 +0000
committerokan2008-05-19 17:11:19 +0000
commita6afc5f36998efb9a564b3a22d2e36a89812af3d (patch)
tree2e751b6dfe83e12d724e9ac56d1f8e980d446fe8 /conf.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--conf.c10
1 files changed, 5 insertions, 5 deletions
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 },