From 1282c3b12fc2c0dacf0c5df9b261dfc45046e7c6 Mon Sep 17 00:00:00 2001 From: Isaac Freund Date: Fri, 13 Mar 2020 23:38:33 +0100 Subject: Send pointer enter/leave on capability change This is more correct according to the protocol and fixes issues with clients that wait for an enter event before processing pointer events. --- include/types/wlr_seat.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') diff --git a/include/types/wlr_seat.h b/include/types/wlr_seat.h index f96db148..c39889b6 100644 --- a/include/types/wlr_seat.h +++ b/include/types/wlr_seat.h @@ -11,6 +11,8 @@ extern const struct wlr_touch_grab_interface default_touch_grab_impl; void seat_client_create_pointer(struct wlr_seat_client *seat_client, uint32_t version, uint32_t id); void seat_client_destroy_pointer(struct wl_resource *resource); +void seat_client_send_pointer_leave_raw(struct wlr_seat_client *seat_client, + struct wlr_surface *surface); void seat_client_create_keyboard(struct wlr_seat_client *seat_client, uint32_t version, uint32_t id); -- cgit v1.2.3