From 3f617631cb68c0e90a755b86f9c241caf0080f9a Mon Sep 17 00:00:00 2001 From: Isaac Freund Date: Fri, 13 Mar 2020 20:22:59 +0100 Subject: Send keyboard 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 key 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 2a3cd69b..f96db148 100644 --- a/include/types/wlr_seat.h +++ b/include/types/wlr_seat.h @@ -15,6 +15,8 @@ void seat_client_destroy_pointer(struct wl_resource *resource); void seat_client_create_keyboard(struct wlr_seat_client *seat_client, uint32_t version, uint32_t id); void seat_client_destroy_keyboard(struct wl_resource *resource); +void seat_client_send_keyboard_leave_raw(struct wlr_seat_client *seat_client, + struct wlr_surface *surface); void seat_client_create_touch(struct wlr_seat_client *seat_client, uint32_t version, uint32_t id); -- cgit v1.2.3