compositor: Don't schedule repaint from weston_surface_update_transform()
authorKristian Høgsberg <krh@bitplanet.net>
Wed, 20 Jun 2012 04:54:52 +0000 (00:54 -0400)
committerKristian Høgsberg <krh@bitplanet.net>
Wed, 20 Jun 2012 04:54:52 +0000 (00:54 -0400)
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.

src/compositor.c

index 8aefca1..a8ace9c 100644 (file)
@@ -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