aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorDaniel Guihot2026-09-16 05:23:04 +1000
committerDaniel Guihot2026-09-16 05:23:04 +1000
commitd4c18b7169c56e69330411b21284dfce1aae5765 (patch)
tree56f085a11b33e35f09e19d63a03d113d47f72418 /README.md
downloaddwm-stickyfullscreen-d4c18b7169c56e69330411b21284dfce1aae5765.tar.gz
dwm-stickyfullscreen-d4c18b7169c56e69330411b21284dfce1aae5765.zip
dwm 6.8 stickyfullscreen patch
Diffstat (limited to 'README.md')
-rw-r--r--README.md32
1 files changed, 32 insertions, 0 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..839f142
--- /dev/null
+++ b/README.md
@@ -0,0 +1,32 @@
+# stickyfullscreen
+
+## Description
+
+This patch keeps a client fullscreen until the user drops it. It applies to
+dwm 6.8.
+
+Many games clear `_NET_WM_STATE_FULLSCREEN` themselves when they lose focus,
+so switching tags or moving the pointer leaves the window tiled or windowed.
+With this patch a clear that arrives while the client is not the selected
+client is ignored, and `focus()` restores the fullscreen geometry when the
+client is focused again. A clear from the focused client is still honoured, so
+the game's own exit or Alt+Enter works as before.
+
+## Configuration
+
+The patch uses the existing `lockfullscreen` option in `config.h`. Set it to
+0 to disable the behaviour. No new options are added.
+
+## Testing
+
+Applies and builds against dwm 6.8. Runtime tested under Xvfb: a fullscreen
+clear sent while unfocused is ignored, and the same clear while focused is
+honoured.
+
+## Download
+
+* [dwm-stickyfullscreen-6.8.diff](dwm-stickyfullscreen-6.8.diff)
+
+## Author
+
+* Daniel Guihot - [daniel@guihot.net](mailto:daniel@guihot.net)