compositor: Don't schedule repaint from weston_surface_update_transform()

weston_surface_update_transform() is typically called as part of the
repaint cycle so don't schedule a repaint here.  There are still a couple
of places where we call weston_surface_update_transform() manually, but
they don't rely on the repaint being scheduled.
Kristian Høgsberg 13 years ago
parent 49952d1f12
commit 83c4c40135
  1. 2
      src/compositor.c

@ -445,8 +445,6 @@ weston_surface_update_transform(struct weston_surface *surface)
if (weston_surface_is_mapped(surface))
weston_surface_assign_output(surface);
weston_compositor_schedule_repaint(surface->compositor);
}
WL_EXPORT void

Loading…
Cancel
Save