aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorIsaac Freund <ifreund@ifreund.xyz>2020-03-13 23:38:33 +0100
committerSimon Ser <contact@emersion.fr>2020-03-14 00:09:32 +0100
commit1282c3b12fc2c0dacf0c5df9b261dfc45046e7c6 (patch)
tree188224b356c791a4ae47f3dfc8c9282641cdd645 /include
parent7c309ba4d30d5ff99fd52a1124e251203ac80883 (diff)
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.
Diffstat (limited to 'include')
-rw-r--r--include/types/wlr_seat.h2
1 files changed, 2 insertions, 0 deletions
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);