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

Axel Davy axel.davy at ens.fr
Sun Nov 17 12:34:16 PST 2013

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.

 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;

More information about the wayland-devel mailing list