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

Bryce Harrington bryce at osg.samsung.com
Tue Apr 7 19:52:03 PDT 2015


On Tue, Apr 07, 2015 at 05:01:31PM +0800, Jonas Ådahl wrote:
> 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 at gmail.com>

I like it.

Reviewed-by: Bryce Harrington <bryce at osg.samsung.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.
>        </description>
>        <arg name="output" type="object" interface="wl_output" allow-null="true"/>
>      </request>
> -- 
> 2.1.4
> 
> _______________________________________________
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/wayland-devel


More information about the wayland-devel mailing list