From: Jonas Ådahl Date: Thu, 17 Oct 2013 21:04:07 +0000 (+0200) Subject: input: Unmap pointer sprite when no more pointer devices are connected X-Git-Tag: upstream/0.1.8~836 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a4932744421a99e7174f7d30eab046cdbc2f295c;p=profile%2Fivi%2Fweston-ivi-shell.git input: Unmap pointer sprite when no more pointer devices are connected Signed-off-by: Jonas Ådahl --- diff --git a/src/input.c b/src/input.c index 6e14766..4f6ba7b 100644 --- a/src/input.c +++ b/src/input.c @@ -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); } }