tearing protocol support and documentation

This commit is contained in:
Ph42oN 2024-01-04 01:24:29 +02:00
parent 2f0a9ef158
commit fc69b80234
11 changed files with 112 additions and 19 deletions

View file

@ -109,6 +109,7 @@ this is for compatibility with Openbox.
<decoration>server</decoration>
<gap>0</gap>
<adaptiveSync>no</adaptiveSync>
<allowTearing>no</allowTearing>
<reuseOutputMode>no</reuseOutputMode>
</core>
```
@ -128,6 +129,17 @@ this is for compatibility with Openbox.
*fullscreen* enables adaptive sync whenever a window is in fullscreen
mode.
*<core><allowTearing>* [yes|no|fullscreen|always]
Allow tearing to reduce input lag. Default is no.
This open requires setting the environment variable WLR_DRM_NO_ATOMIC=1.
*yes* allow tearing if an open window requests it.
*fullscreen* allow tearing if an open window requests it, or if any
window is in fullscreen mode.
*always* allow tearing regardless of window status.
*<core><reuseOutputMode>* [yes|no]
Try to re-use the existing output mode (resolution / refresh rate).
This may prevent unnecessary screenblank delays when starting labwc