From 3ab56ef8fa5aa64c07ad10fbaeb09b0c3b708ccf Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Sat, 29 Sep 2018 22:25:47 +0200 Subject: 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 --- protocol/wayland.xml | 3 +++ 1 file changed, 3 insertions(+) (limited to 'protocol') diff --git a/protocol/wayland.xml b/protocol/wayland.xml index f19c5b8..dee0ac1 100644 --- a/protocol/wayland.xml +++ b/protocol/wayland.xml @@ -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. -- cgit v1.2.3-70-g09d2