diff options
author | okan <okan> | 2008-05-19 12:56:58 +0000 |
---|---|---|
committer | okan <okan> | 2008-05-19 12:56:58 +0000 |
commit | 7957a470fd60e9d50057989595dd3b36010211e2 (patch) | |
tree | 0a86bd03260e141244fa387e1ae54089646bb5f1 /conf.c | |
parent | a94f4bbb7a5771fd20c300893f6331aba9f4d571 (diff) | |
download | cwm-7957a470fd60e9d50057989595dd3b36010211e2.tar.gz cwm-7957a470fd60e9d50057989595dd3b36010211e2.tar.xz cwm-7957a470fd60e9d50057989595dd3b36010211e2.zip |
finally implement keyboard binding for group toggling
idea for the "slightly-less-abhorrent-hack-but-a-hack-nonetheless-TM" from oga@ grab and ungrab the keyboard to get around some silly X apps that like stealing events ok oga@
Diffstat (limited to 'conf.c')
-rw-r--r-- | conf.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/conf.c b/conf.c index 7d59e2f..ff5d29c 100644 --- a/conf.c +++ b/conf.c @@ -117,6 +117,7 @@ conf_init(struct conf *c) conf_bindname(c, "CM-9", "group9"); conf_bindname(c, "M-Right", "nextgroup"); conf_bindname(c, "M-Left", "prevgroup"); + conf_bindname(c, "CM-g", "grouptoggle"); conf_bindname(c, "CM-f", "maximize"); conf_bindname(c, "CM-equal", "vmaximize"); conf_bindname(c, "CMS-q", "quit"); @@ -224,6 +225,7 @@ struct { { "nogroup", kbfunc_client_nogroup, 0, 0 }, { "nextgroup", kbfunc_client_nextgroup, 0, 0 }, { "prevgroup", kbfunc_client_prevgroup, 0, 0 }, + { "grouptoggle", kbfunc_client_grouptoggle, KBFLAG_NEEDCLIENT, 0}, { "maximize", kbfunc_client_maximize, KBFLAG_NEEDCLIENT, 0 }, { "vmaximize", kbfunc_client_vmaximize, KBFLAG_NEEDCLIENT, 0 }, { "quit", kbfunc_quit_wm, 0, 0 }, |