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.
This commit is contained in:
@@ -445,8 +445,6 @@ weston_surface_update_transform(struct weston_surface *surface)
|
|||||||
|
|
||||||
if (weston_surface_is_mapped(surface))
|
if (weston_surface_is_mapped(surface))
|
||||||
weston_surface_assign_output(surface);
|
weston_surface_assign_output(surface);
|
||||||
|
|
||||||
weston_compositor_schedule_repaint(surface->compositor);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
WL_EXPORT void
|
WL_EXPORT void
|
||||||
|
|||||||
Reference in New Issue
Block a user