input: Unmap pointer sprite when no more pointer devices are connected
Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
This commit is contained in:
committed by
Kristian Høgsberg
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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user