[mutter] wayland-surface: Subsurfaces start out in synchronous mode



commit e33c58297da0af93f8b252673922829ac6543b37
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Wed Jun 11 12:34:44 2014 -0400

    wayland-surface: Subsurfaces start out in synchronous mode

 src/wayland/meta-wayland-surface.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/wayland/meta-wayland-surface.c b/src/wayland/meta-wayland-surface.c
index e80542e..15bd7e9 100644
--- a/src/wayland/meta-wayland-surface.c
+++ b/src/wayland/meta-wayland-surface.c
@@ -1677,6 +1677,7 @@ wl_subcompositor_get_subsurface (struct wl_client *client,
     }
 
   pending_state_init (&surface->sub.pending);
+  surface->sub.synchronous = TRUE;
   surface->sub.parent = parent;
   surface->sub.parent_destroy_listener.notify = surface_handle_parent_surface_destroyed;
   wl_resource_add_destroy_listener (parent->resource, &surface->sub.parent_destroy_listener);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]