mirror of
https://gitlab.freedesktop.org/wayland/weston
synced 2024-09-30 14:33:48 +00: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
630bae8672
commit
a493274442
|
@ -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…
Reference in a new issue