From 0aba7853846ebc3572298afe9a2a554b2fcba836 Mon Sep 17 00:00:00 2001 From: Derek Foreman Date: Wed, 18 Nov 2015 16:32:24 -0600 Subject: [PATCH] smoke: Don't post extra damage We're going to post damage when the widget redraw happens anyway. Signed-off-by: Derek Foreman Reviewed-by: Pekka Paalanen --- clients/smoke.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/clients/smoke.c b/clients/smoke.c index c8fdc066..77120b44 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);