[PATCH v2] Wayland backend: set the opaque region when starting fullscreen

Kristian Høgsberg hoegsberg at gmail.com
Tue Nov 19 11:45:08 PST 2013


On Sun, Nov 17, 2013 at 09:34:16PM +0100, Axel Davy wrote:
> The opaque region is not set when we start the nested
> compositor fullscreen. This patch fixes this.
> 
> Signed-off-by: Axel Davy <axel.davy at ens.fr>
> ---
> Jason Ekstrand prefer we use wayland_output_set_fullscreen,
> which will -besides other things- set the opaque region.

Patch applied, thanks.

Kristian

>  src/compositor-wayland.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/src/compositor-wayland.c b/src/compositor-wayland.c
> index ed3923b..7b280b8 100644
> --- a/src/compositor-wayland.c
> +++ b/src/compositor-wayland.c
> @@ -1613,6 +1613,7 @@ backend_init(struct wl_display *display, int *argc, char *argv[],
>  		if (!output)
>  			goto err_outputs;
>  
> +		wayland_output_set_fullscreen(output, 0, 0, NULL);
>  		return &c->base;
>  	}
>  
> -- 
> 1.8.1.2
> 
> _______________________________________________
> 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