commit | a4932744421a99e7174f7d30eab046cdbc2f295c | [log] [tgz] |
---|---|---|
author | Jonas Ådahl <jadahl@gmail.com> | Thu Oct 17 23:04:07 2013 +0200 |
committer | Kristian Høgsberg <krh@bitplanet.net> | Mon Oct 21 13:46:44 2013 -0700 |
tree | dd6d6ecb5b1de17ac3a1a80f95763edfbe6b3beb | |
parent | 630bae8672d9562f1f7a56e3680718a07c14fb8c [diff] [blame] |
input: Unmap pointer sprite when no more pointer devices are connected Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
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 @@ wl_fixed_from_int(0), wl_fixed_from_int(0)); + if (pointer->sprite) + pointer_unmap_sprite(pointer); + seat_send_updated_caps(seat); } }