[mutter] wayland: Ensure we queue a "calc showing" operation after we get a buffer
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] wayland: Ensure we queue a "calc showing" operation after we get a buffer
- Date: Tue, 16 Jun 2015 18:36:01 +0000 (UTC)
commit cdac4d0e92ea7b6a82101ac2b8723e893c53b3e3
Author: Carlos Garnacho <carlosg gnome org>
Date: Mon Jun 8 11:59:42 2015 +0200
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 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/wayland/meta-wayland-surface.c b/src/wayland/meta-wayland-surface.c
index 0f2714f..2a0db22 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)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]