full screen sized windows

ok matthieu@
This commit is contained in:
jasper 2007-05-27 09:23:12 +00:00
parent 31356d9833
commit 4a498a4c60
3 changed files with 6 additions and 2 deletions

View File

@ -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
conf.c
View File

@ -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;

2
cwm.1
View File

@ -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-?