animation: Schedule a repaint only on the outputs the surface is in

The function weston_surface_animation_frame() would schedule a repaint
on all outputs, as weston_surface_schedule_repaint() didn't exist when
it was implemented.
This commit is contained in:
Ander Conselvan de Oliveira
2013-02-21 18:35:19 +02:00
committed by Kristian Høgsberg
parent 8a91324c13
commit 29f30fab27
+1 -1
View File
@@ -154,7 +154,7 @@ weston_surface_animation_frame(struct weston_animation *base,
animation->frame(animation);
animation->surface->geometry.dirty = 1;
weston_compositor_schedule_repaint(animation->surface->compositor);
weston_surface_schedule_repaint(animation->surface);
}
static struct weston_surface_animation *