From 2ea094422acf8fe86decc0b55249ccb0eca6793a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristian=20H=C3=B8gsberg?= Date: Tue, 28 Feb 2012 23:12:52 -0500 Subject: [PATCH] zoom: Don't damage_all here Setting geometry.dirty = 1 is enough. --- src/util.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/util.c b/src/util.c index ee8e7cf3..3ca940f9 100644 --- a/src/util.c +++ b/src/util.c @@ -147,8 +147,7 @@ weston_zoom_frame(struct weston_animation *animation, es->alpha = 255; zoom->surface->geometry.dirty = 1; - - weston_compositor_damage_all(es->compositor); + weston_compositor_schedule_repaint(es->compositor); } WL_EXPORT struct weston_zoom *