xdg-shell: Specify fullscreen size-mismatch handling
authorJonas Ådahl <jadahl@gmail.com>
Tue, 7 Apr 2015 08:42:27 +0000 (16:42 +0800)
committerJonas Ådahl <jadahl@gmail.com>
Tue, 5 May 2015 06:28:46 +0000 (14:28 +0800)
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
completely.

Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
Reviewed-by: Bryce Harrington <bryce@osg.samsung.com>
Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
protocol/xdg-shell.xml

index 85aa7486ff4e8b78bad08097eaaefc5456bac8b2..1629bd0093c3a8970a609bfa7569902fb4446ee2 100644 (file)
         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.
       </description>
       <arg name="output" type="object" interface="wl_output" allow-null="true"/>
     </request>