From cdac4d0e92ea7b6a82101ac2b8723e893c53b3e3 Mon Sep 17 00:00:00 2001 From: Carlos Garnacho Date: Mon, 8 Jun 2015 11:59:42 +0200 Subject: [PATCH] wayland: Ensure we queue a "calc showing" operation after we get a buffer This will ensure the window is made visible, now that we're going to ignore all previous petitions until we get a buffer. https://bugzilla.gnome.org/show_bug.cgi?id=750552 --- src/wayland/meta-wayland-surface.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/wayland/meta-wayland-surface.c b/src/wayland/meta-wayland-surface.c index 0f2714f42..2a0db2273 100644 --- a/src/wayland/meta-wayland-surface.c +++ b/src/wayland/meta-wayland-surface.c @@ -486,6 +486,9 @@ apply_pending_state (MetaWaylandSurface *surface, if (pending->newly_attached) { + if (!surface->buffer && surface->window) + meta_window_queue (surface->window, META_QUEUE_CALC_SHOWING); + surface_set_buffer (surface, pending->buffer); if (pending->buffer)