diff --git a/src/wayland/meta-wayland-actor-surface.c b/src/wayland/meta-wayland-actor-surface.c index 6b3804df5..ec6c72c29 100644 --- a/src/wayland/meta-wayland-actor-surface.c +++ b/src/wayland/meta-wayland-actor-surface.c @@ -303,14 +303,7 @@ meta_wayland_actor_surface_apply_state (MetaWaylandSurfaceRole *surface_role, meta_wayland_actor_surface_get_instance_private (actor_surface); if (priv->actor && !wl_list_empty (&pending->frame_callback_list)) - { - ClutterStage *stage; - - stage = - CLUTTER_STAGE (clutter_actor_get_stage (CLUTTER_ACTOR (priv->actor))); - if (stage) - clutter_stage_schedule_update (stage); - } + meta_surface_actor_schedule_update (priv->actor); meta_wayland_actor_surface_queue_frame_callbacks (actor_surface, pending);