mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-09 08:18:09 +02:00
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
1 changed files with 0 additions and 2 deletions
|
|
@ -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…
Add table
Reference in a new issue