[PATCH] protocol: allow to send a zero physical output size
contact at emersion.fr
Fri Jul 13 10:26:36 UTC 2018
I'd like to bump this, because it seems that's how they do it on the
X11 side . So adding this would allow to have better Wayland
behaviour _and_ correct X11 screen data via Xwayland.
On July 3, 2018 12:27 PM, Simon Ser <contact at emersion.fr> wrote:
> Physical size doesn't always make sense for all outputs. In case
> it's not available or not relevant, allow compositors to send zero.
> In practice this doesn't seem to break any client toolkit. We've been
> doing that for a long time in wlroots.
> protocol/wayland.xml | 3 +++
> 1 file changed, 3 insertions(+)
> diff --git a/protocol/wayland.xml b/protocol/wayland.xml
> index b5662e0..141038b 100644
> --- a/protocol/wayland.xml
> +++ b/protocol/wayland.xml
> @@ -2399,6 +2399,9 @@
> The geometry event describes geometric properties of the output.
> The event is sent when binding to the output object and whenever
> any of the properties change.
> + The physical size can be set to zero if it doesn't make sense for this
> + output (e.g. for projectors or virtual outputs).
> <arg name="x" type="int"
> summary="x position within the global compositor space"/>
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
More information about the wayland-devel