aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjasper2007-05-27 09:23:12 +0000
committerjasper2007-05-27 09:23:12 +0000
commit5116ffb4630d2bcf16cd2ab429dc6baba29e40bb (patch)
tree5a3842e65757fc760ab59f3e80981a9bee466d88
parent8b8d4e50c0eedfd6d0f8575173c1b3e78749101f (diff)
downloadcwm-5116ffb4630d2bcf16cd2ab429dc6baba29e40bb.tar.gz
full screen sized windows
ok matthieu@
Diffstat (limited to '')
-rw-r--r--calmwm.h4
-rw-r--r--conf.c6
-rw-r--r--cwm.14
3 files changed, 9 insertions, 5 deletions
diff --git a/calmwm.h b/calmwm.h
index 213d88d..281efb4 100644
--- a/calmwm.h
+++ b/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/conf.c b/conf.c
index e3a7795..9c53fb9 100644
--- a/conf.c
+++ b/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/cwm.1 b/cwm.1
index 537a42c..de0245d 100644
--- a/cwm.1
+++ b/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-?