zoom: Don't damage_all here

Setting geometry.dirty = 1 is enough.
This commit is contained in:
Kristian Høgsberg 2012-02-28 23:12:52 -05:00
parent 9b154fa82b
commit 2ea094422a

View File

@ -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 *