Don't destroy wayland buffer attached to a surface.

This commit is contained in:
Armin Novak 2019-02-08 13:42:45 +01:00
parent fe6296a25f
commit db3bcffd03

View File

@ -126,10 +126,6 @@ set_cursor_image(UwacSeat* seat, uint32_t serial)
wl_surface_commit(surface);
}
if (buffer) {
wl_buffer_destroy(buffer);
}
wl_pointer_set_cursor(seat->pointer,
serial,
surface,