[PATCH weston 3/4] input: Unmap pointer sprite when no more pointer devices are connected

Jonas Ådahl jadahl at gmail.com
Thu Oct 17 23:04:07 CEST 2013


Signed-off-by: Jonas Ådahl <jadahl at gmail.com>
---
 src/input.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/input.c b/src/input.c
index de46433..0a4568b 100644
--- a/src/input.c
+++ b/src/input.c
@@ -1717,6 +1717,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);
 	}
 }
-- 
1.8.1.2



More information about the wayland-devel mailing list