summaryrefslogtreecommitdiff
path: root/app/cwm/cwmrc.5
diff options
context:
space:
mode:
authorOkan Demirmen <okan@cvs.openbsd.org>2013-12-16 19:02:18 +0000
committerOkan Demirmen <okan@cvs.openbsd.org>2013-12-16 19:02:18 +0000
commit6607b5d582214cfff74e2f83b584112c17932cd6 (patch)
tree7c3e4a97f0701f4d291e6fb1851239bf83c68112 /app/cwm/cwmrc.5
parent235d74776abb4df5a96170b419044ae120b931dc (diff)
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 'app/cwm/cwmrc.5')
-rw-r--r--app/cwm/cwmrc.512
1 files changed, 7 insertions, 5 deletions
diff --git a/app/cwm/cwmrc.5 b/app/cwm/cwmrc.5
index 24f4ab058..515283eff 100644
--- a/app/cwm/cwmrc.5
+++ b/app/cwm/cwmrc.5
@@ -1,4 +1,4 @@
-.\" $OpenBSD: cwmrc.5,v 1.56 2013/12/13 14:40:52 okan Exp $
+.\" $OpenBSD: cwmrc.5,v 1.57 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: December 13 2013 $
+.Dd $Mdocdate: December 16 2013 $
.Dt CWMRC 5
.Os
.Sh NAME
@@ -341,12 +341,14 @@ Raise current window.
Label current window.
.It freeze
Freeze current window geometry.
+.It fullscreen
+Full-screen current window (gap + border removed).
.It maximize
-Maximize current window full-screen.
+Maximize current window (gap + border honored).
.It vmaximize
-Maximize current window vertically.
+Vertically maximize current window (gap + border honored).
.It hmaximize
-Maximize current window horizontally.
+Horizontally maximize current window (gap + border honored).
.It moveup
Move window
.Ar moveamount