From 504db9d8e5d3a6de4abbbb0ae11a82fd81b3771f Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Tue, 3 Jul 2018 07:27:05 -0400 Subject: [PATCH] protocol: allow to send a zero physical output size MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Physical size doesn't always make sense for all outputs. In case it's not available or not relevant, allow compositors to send zero. Acked-by: Daniel Stone Acked-by: Jonas Ã…dahl Acked-by: Olivier Fourdan --- protocol/wayland.xml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/protocol/wayland.xml b/protocol/wayland.xml index b5662e02..141038b7 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).