summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/input.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/input.c b/src/input.c
index 6e147666..4f6ba7b3 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);
}
}