From 83c4c40135b0522b9ea4a9af1cfc6aec5e39afe5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Kristian=20H=C3=B8gsberg?= Date: Wed, 20 Jun 2012 00:54:52 -0400 Subject: [PATCH] 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. --- src/compositor.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/compositor.c b/src/compositor.c index 8aefca1..a8ace9c 100644 --- a/src/compositor.c +++ b/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 -- 2.7.4