aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorDaniel Guihot2026-09-16 05:22:57 +1000
committerDaniel Guihot2026-09-16 05:22:57 +1000
commite0bb47559a2913c3b24c289a1471209321acca91 (patch)
tree4350aedd3591fed6461dac2acc7f4d725044baad /README.md
downloaddwm-fullscreenhook-e0bb47559a2913c3b24c289a1471209321acca91.tar.gz
dwm-fullscreenhook-e0bb47559a2913c3b24c289a1471209321acca91.zip
dwm 6.8 fullscreenhook patch
Diffstat (limited to 'README.md')
-rw-r--r--README.md30
1 files changed, 30 insertions, 0 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..8957a6c
--- /dev/null
+++ b/README.md
@@ -0,0 +1,30 @@
+# fullscreenhook
+
+## Description
+
+This patch publishes the active fullscreen window on the root window so other
+programs can react to it. It applies to dwm 6.8.
+
+dwm sets `_DWM_FULLSCREEN` to the window id of the fullscreen client when it
+enters fullscreen, and removes the property when it leaves or is unmanaged. A
+compositor, notification daemon or GameMode helper can watch it with:
+
+ xprop -root -spy _DWM_FULLSCREEN
+
+No configuration and no spawned commands.
+
+Assumes one fullscreen client at a time. With two, the property tracks the
+most recent one to enter.
+
+## Testing
+
+Applies and builds against dwm 6.8. Runtime tested under Xvfb: the property
+is set on enter and cleared on exit and on unmanage.
+
+## Download
+
+* [dwm-fullscreenhook-6.8.diff](dwm-fullscreenhook-6.8.diff)
+
+## Author
+
+* Daniel Guihot - [daniel@guihot.net](mailto:daniel@guihot.net)