From c93aabe260cae31e757caa99381b1e8a0e1efddc Mon Sep 17 00:00:00 2001 From: oga Date: Mon, 24 Aug 2009 23:54:41 +0000 Subject: Add a keybinding to allow horizontal maximisation of a window (CMS-enter). based on a diff by Thomas Pfaff; thanks! ok okan@ --- conf.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'conf.c') diff --git a/conf.c b/conf.c index 91df027..aa6cc14 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.66 2009/06/26 12:21:58 okan Exp $ + * $Id: conf.c,v 1.67 2009/08/24 23:54:41 oga Exp $ */ #include "headers.h" @@ -135,6 +135,7 @@ conf_init(struct conf *c) conf_bindname(c, "CM-g", "grouptoggle"); conf_bindname(c, "CM-f", "maximize"); conf_bindname(c, "CM-equal", "vmaximize"); + conf_bindname(c, "CMS-equal", "hmaximize"); conf_bindname(c, "CMS-r", "reload"); conf_bindname(c, "CMS-q", "quit"); @@ -338,6 +339,7 @@ static struct { { "grouptoggle", kbfunc_client_grouptoggle, KBFLAG_NEEDCLIENT, {0}}, { "maximize", kbfunc_client_maximize, KBFLAG_NEEDCLIENT, {0} }, { "vmaximize", kbfunc_client_vmaximize, KBFLAG_NEEDCLIENT, {0} }, + { "hmaximize", kbfunc_client_hmaximize, KBFLAG_NEEDCLIENT, {0} }, { "reload", kbfunc_reload, 0, {0} }, { "quit", kbfunc_quit_wm, 0, {0} }, { "exec", kbfunc_exec, 0, {.i = CWM_EXEC_PROGRAM} }, -- cgit v1.2.3-2-gb3c3