mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-08 13:38:05 +02:00
input: Unmap pointer sprite when no more pointer devices are connected
Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
This commit is contained in:
parent
57618a1df1
commit
870e3f5a56
1 changed files with 3 additions and 0 deletions
|
|
@ -1719,6 +1719,9 @@ weston_seat_release_pointer(struct weston_seat *seat)
|
|||
wl_fixed_from_int(0),
|
||||
wl_fixed_from_int(0));
|
||||
|
||||
if (pointer->sprite)
|
||||
pointer_unmap_sprite(pointer);
|
||||
|
||||
seat_send_updated_caps(seat);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue