[mutter] wayland: Sync surface actor state in actor role commit handler
- From: Jonas Ådahl <jadahl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] wayland: Sync surface actor state in actor role commit handler
- Date: Tue, 3 May 2016 02:17:35 +0000 (UTC)
commit ca44770f1ae8323bbc16ebc57663d517ef827893
Author: Jonas Ådahl <jadahl gmail com>
Date: Fri Mar 4 16:13:04 2016 +0800
wayland: Sync surface actor state in actor role commit handler
This'll also make the actor state already synchronized when shell
surfaces handlers apply their state.
https://bugzilla.gnome.org/show_bug.cgi?id=763431
src/wayland/meta-wayland-surface.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/src/wayland/meta-wayland-surface.c b/src/wayland/meta-wayland-surface.c
index 1da9f3c..e6038f2 100644
--- a/src/wayland/meta-wayland-surface.c
+++ b/src/wayland/meta-wayland-surface.c
@@ -726,8 +726,6 @@ apply_pending_state (MetaWaylandSurface *surface,
pending_state_signals[PENDING_STATE_SIGNAL_APPLIED],
0);
- meta_surface_actor_wayland_sync_state (surface_actor_wayland);
-
pending_state_reset (pending);
g_list_foreach (surface->subsurfaces, parent_surface_state_applied, NULL);
@@ -1984,6 +1982,9 @@ actor_surface_commit (MetaWaylandSurfaceRole *surface_role,
MetaWaylandSurface *surface =
meta_wayland_surface_role_get_surface (surface_role);
+ meta_surface_actor_wayland_sync_state (
+ META_SURFACE_ACTOR_WAYLAND (surface->surface_actor));
+
queue_surface_actor_frame_callbacks (surface, pending);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]