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:
parent
2cbf293b05
commit
0aba785384
@ -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…
Reference in New Issue
Block a user