feat: add comment about max_render_time for allow_tearing option in sway-output doc

This commit is contained in:
Ricardo Steijn 2024-08-04 21:54:12 +02:00
parent 77b965dc33
commit 4bf9e84e74

View file

@ -199,6 +199,11 @@ must be separated by one space. For example:
as possible instead of synchronizing with the monitor's vblank interval
(VSync).
It is recommended to set *max_render_time* to *off*. In that case a page flip
happens as soon as a client updates. Otherwise, tearing will only happen if
rendering takes longer than the configured milliseconds before the next
display refresh.
To adjust whether tearing is allowed for specific applications, see
*allow_tearing* in *sway*(5). Note that tearing will only be enabled
when it's allowed for both the output and the application.