summaryrefslogtreecommitdiff
path: root/app/cwm
diff options
context:
space:
mode:
authorJasper Lievisse Adriaanse <jasper@cvs.openbsd.org>2007-05-27 09:23:13 +0000
committerJasper Lievisse Adriaanse <jasper@cvs.openbsd.org>2007-05-27 09:23:13 +0000
commit047ef296fb3a0e2e75cc7fa7fe5ad42f2d4c1346 (patch)
treefc10b8ab4b82eff58322685daa7ade35ed61c154 /app/cwm
parent0656efed16d02cd6f910025b997a5b4f520b7935 (diff)
full screen sized windows
ok matthieu@
Diffstat (limited to 'app/cwm')
-rw-r--r--app/cwm/calmwm.h4
-rw-r--r--app/cwm/conf.c6
-rw-r--r--app/cwm/cwm.14
3 files changed, 9 insertions, 5 deletions
diff --git a/app/cwm/calmwm.h b/app/cwm/calmwm.h
index 213d88dec..281efb4ad 100644
--- a/app/cwm/calmwm.h
+++ b/app/cwm/calmwm.h
@@ -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,
diff --git a/app/cwm/conf.c b/app/cwm/conf.c
index e3a779559..9c53fb95b 100644
--- a/app/cwm/conf.c
+++ b/app/cwm/conf.c
@@ -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;
diff --git a/app/cwm/cwm.1 b/app/cwm/cwm.1
index 537a42cb0..de0245dcc 100644
--- a/app/cwm/cwm.1
+++ b/app/cwm/cwm.1
@@ -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-?