Commit 3ab56ef8 authored by Simon Ser's avatar Simon Ser Committed by Daniel Stone

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's avatarSimon Ser <>
parent ea11878d
Pipeline #33592 passed with stage
in 1 minute and 48 seconds
......@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment