mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-10-29 05:40:16 -04:00
protocol: allow to send a zero output refresh rate
Fixed refresh rate doesn't always make sense for all outputs. In case it's not available or not relevant, allow compositors to send zero. For instance the can be the case for virtual outputs. Signed-off-by: Simon Ser <contact@emersion.fr>
This commit is contained in:
parent
ea11878d00
commit
3ab56ef8fa
1 changed files with 3 additions and 0 deletions
|
|
@ -2465,6 +2465,9 @@
|
|||
willing to retrieve the output size in the global compositor
|
||||
space should use xdg_output.logical_size instead.
|
||||
|
||||
The vertical refresh rate can be set to zero if it doesn't make
|
||||
sense for this output (e.g. for virtual outputs).
|
||||
|
||||
Clients should not use the refresh rate to schedule frames. Instead,
|
||||
they should use the wl_surface.frame event or the presentation-time
|
||||
protocol.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue