input: Unmap pointer sprite when no more pointer devices are connected

Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
This commit is contained in:
Jonas Ådahl 2013-10-17 23:04:07 +02:00 committed by Kristian Høgsberg
parent 630bae8672
commit a493274442

View file

@ -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);
}
}