[PATCH weston 01/11] smoke: Don't post extra damage
Derek Foreman
derekf at osg.samsung.com
Wed Nov 18 14:32:24 PST 2015
We're going to post damage when the widget redraw happens anyway.
Signed-off-by: Derek Foreman <derekf at osg.samsung.com>
---
clients/smoke.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/clients/smoke.c b/clients/smoke.c
index c8fdc06..77120b4 100644
--- a/clients/smoke.c
+++ b/clients/smoke.c
@@ -201,8 +201,6 @@ redraw_handler(struct widget *widget, void *data)
render(smoke, surface);
- window_damage(smoke->window, 0, 0, smoke->width, smoke->height);
-
cairo_surface_destroy(surface);
widget_schedule_redraw(smoke->widget);
--
2.6.2
More information about the wayland-devel
mailing list