diff options
Diffstat (limited to '')
| -rw-r--r-- | README.md | 32 |
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) |
