summary refs log tree commit diff
diff options
context:
space:
mode:
authorjasper <jasper>2007-05-27 09:23:12 +0000
committerjasper <jasper>2007-05-27 09:23:12 +0000
commit4a498a4c60bbc7fe5bcb0427e64a883e458d714b (patch)
tree37c528149f9f03e913f83a857e15412ff1b49567
parent31356d9833987d0ecb9da1fc426fea2fda3537d0 (diff)
downloadcwm-4a498a4c60bbc7fe5bcb0427e64a883e458d714b.tar.gz
cwm-4a498a4c60bbc7fe5bcb0427e64a883e458d714b.tar.xz
cwm-4a498a4c60bbc7fe5bcb0427e64a883e458d714b.zip
full screen sized windows
ok matthieu@
-rw-r--r--calmwm.h2
-rw-r--r--conf.c4
-rw-r--r--cwm.12
3 files changed, 6 insertions, 2 deletions
diff --git a/calmwm.h b/calmwm.h
index 11c922e..97fbab5 100644
--- a/calmwm.h
+++ b/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 153e894..a586df5 100644
--- a/conf.c
+++ b/conf.c
@@ -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 9e76dac..a2efc77 100644
--- a/cwm.1
+++ b/cwm.1
@@ -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-?