wayland-surface: Subsurfaces start out in synchronous mode
This commit is contained in:
parent
5350120db4
commit
e33c58297d
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user