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).
</description>
<arg name="x" type="int"
summary="x position within the global compositor space"/>
--
2.18.0
_______________________________________________
wayland-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/wayland-devel