aboutsummaryrefslogtreecommitdiffstats
path: root/cwm.1
diff options
context:
space:
mode:
authorokan2013-12-16 19:02:17 +0000
committerokan2013-12-16 19:02:17 +0000
commit9798372dada127b4294dd53e80501c05e544b86c (patch)
treed953b0b3e96eaa7da4a614d942438fb44ede06bc /cwm.1
parent2f199b5ad84adda4a8b7d72b78529d68ec037786 (diff)
downloadcwm-9798372dada127b4294dd53e80501c05e544b86c.tar.gz
Implement support for EWMH's _NET_WM_STATE_FULLSCREEN hint.
Since we already have a form of 'maximize', we need to differentiate between 'maximize' and the new 'fullscreen' mode. The 'maximize' mode will continue to honor gap but now *retains* the border, matching the 'vert/horz maximize' behaviour. The new 'fullscreen' mode supports and follows the _NET_WM_STATE_FULLSCREEN hint, allowing the client perform additional window modifications; in this mode, cwm(1) will *ignore* gap, remove borders and freeze(move/resize) the client. Additionally, 'fullscreen' mode will remember various combinations of previous states. * default keybinding changes: CM-f 'fullscreen', CM-m 'maximize' (re-map as desired). Positive feedback from a few, testing and ok sthen@
Diffstat (limited to '')
-rw-r--r--cwm.18
1 files changed, 5 insertions, 3 deletions
diff --git a/cwm.1 b/cwm.1
index d209efd..fe28187 100644
--- a/cwm.1
+++ b/cwm.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: cwm.1,v 1.48 2012/10/31 19:30:19 okan Exp $
+.\" $OpenBSD: cwm.1,v 1.49 2013/12/16 19:02:17 okan Exp $
.\"
.\" Copyright (c) 2004,2005 Marius Aamodt Eriksen <marius@monkey.org>
.\"
@@ -14,7 +14,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: October 31 2012 $
+.Dd $Mdocdate: December 16 2013 $
.Dt CWM 1
.Os
.Sh NAME
@@ -91,7 +91,9 @@ Reverse cycle through active groups.
.It Ic CMS-f
Toggle freezing geometry of current window.
.It Ic CM-f
-Toggle full-screen size of current window.
+Toggle full-screen mode of current window.
+.It Ic CM-m
+Toggle maximization of current window.
.It Ic CM-=
Toggle vertical maximization of current window.
.It Ic CMS-=