smoke: Don't post extra damage

We're going to post damage when the widget redraw happens anyway.

Signed-off-by: Derek Foreman <derekf@osg.samsung.com>
Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
This commit is contained in:
Derek Foreman 2015-11-18 16:32:24 -06:00 committed by Pekka Paalanen
parent 2cbf293b05
commit 0aba785384

View File

@ -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);