diff options
-rw-r--r-- | calmwm.h | 4 | ||||
-rw-r--r-- | conf.c | 6 | ||||
-rw-r--r-- | cwm.1 | 4 |
3 files changed, 9 insertions, 5 deletions
@@ -4,7 +4,7 @@ * Copyright (c) 2004 Marius Aamodt Eriksen <marius@monkey.org> * All rights reserved. * - * $Id: calmwm.h,v 1.3 2007/05/10 17:23:49 jasper Exp $ + * $Id: calmwm.h,v 1.4 2007/05/27 09:23:12 jasper Exp $ */ #ifndef _CALMWM_H_ @@ -192,7 +192,7 @@ TAILQ_HEAD(xevent_q, xevent); enum kbtype { KB_DELETE, KB_NEWTERM0, KB_NEWTERM1, KB_HIDE, KB_LOWER, KB_RAISE, KB_SEARCH, KB_CYCLE, KB_LABEL, - KB_GROUPSELECT, KB_VERTMAXIMIZE, + KB_GROUPSELECT, KB_VERTMAXIMIZE, KB_MAXIMIZE, /* Group numbers need to be in order. */ KB_GROUP_1, KB_GROUP_2, KB_GROUP_3, KB_GROUP_4, KB_GROUP_5, @@ -4,7 +4,7 @@ * Copyright (c) 2004 Marius Aamodt Eriksen <marius@monkey.org> * All rights reserved. * - * $Id: conf.c,v 1.2 2007/04/27 18:08:14 bernd Exp $ + * $Id: conf.c,v 1.3 2007/05/27 09:23:12 jasper Exp $ */ #include "headers.h" @@ -229,6 +229,8 @@ conf_setup(struct conf *c) XK_Right, Mod1Mask, 0, 0); conf_bindkey(c, kbfunc_client_prevgroup, XK_Left, Mod1Mask, 0, 0); + conf_bindkey(c, kbfunc_client_maximize, + XK_f, ControlMask|Mod1Mask, KBFLAG_NEEDCLIENT, 0); conf_bindkey(c, kbfunc_client_vmaximize, XK_equal, ControlMask|Mod1Mask, KBFLAG_NEEDCLIENT, 0); } @@ -410,7 +412,7 @@ conf_parsekeys(struct conf *c, char *filename) substring = strchr(ent->d_name, '-') + 1; - // if there is no '-' in name, continue as is + /* If there is no '-' in name, continue as is */ if (strchr(ent->d_name, '-') == NULL) substring = ent->d_name; @@ -1,4 +1,4 @@ -.\" $OpenBSD: cwm.1,v 1.4 2007/05/10 21:28:23 jasper Exp $ +.\" $OpenBSD: cwm.1,v 1.5 2007/05/27 09:23:12 jasper Exp $ .\" .\" The following requests are required for all man pages. .Dd July 10, 2004 @@ -81,6 +81,8 @@ Select all groups. Switch to next group. .It Fa M-Left Switch to previous group. +.It Fa C-M-f +Toggle full-screen size of window. .It Fa C-M-= Toggle vertical maximization of window. .It Fa M-? |