Don't destroy wayland buffer attached to a surface.
This commit is contained in:
parent
fe6296a25f
commit
db3bcffd03
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user