[PATCH weston 16/17] xdg-shell: Specify fullscreen size-mismatch handling

Jonas Ådahl jadahl at gmail.com
Tue Apr 7 02:01:31 PDT 2015

We cannot rely on the client to provide a surface filling the output so
we must specify what happens with the outputs area that is not covered

Signed-off-by: Jonas Ådahl <jadahl at gmail.com>
 protocol/xdg-shell.xml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/protocol/xdg-shell.xml b/protocol/xdg-shell.xml
index 13168b3..e233b8f 100644
--- a/protocol/xdg-shell.xml
+++ b/protocol/xdg-shell.xml
@@ -487,6 +487,10 @@
         You can specify an output that you would prefer to be fullscreen.
 	If this value is NULL, it's up to the compositor to choose which
         display will be used to map this surface.
+        If the surface doesn't cover the whole output, the compositor will
+        position the surface in the center of the output and compensate with
+        black borders filling the rest of the output.
       <arg name="output" type="object" interface="wl_output" allow-null="true"/>

More information about the wayland-devel mailing list