[PATCH weston 4/8] animation: Schedule a repaint only on the outputs the surface is in
Ander Conselvan de Oliveira
ander.conselvan.de.oliveira at intel.com
Thu Feb 21 08:35:19 PST 2013
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.
---
src/animation.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/animation.c b/src/animation.c
index 9e2ad4e..5b6db31 100644
--- a/src/animation.c
+++ b/src/animation.c
@@ -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 *
--
1.7.10.4
More information about the wayland-devel
mailing list