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>
dev
Derek Foreman 9 years ago committed by Pekka Paalanen
parent 2cbf293b05
commit 0aba785384
  1. 2
      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);

Loading…
Cancel
Save