diff options
author | Isaac Freund <ifreund@ifreund.xyz> | 2020-03-13 20:22:59 +0100 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2020-03-13 22:19:51 +0100 |
commit | 3f617631cb68c0e90a755b86f9c241caf0080f9a (patch) | |
tree | 5215313ebfd1303150a447bb1bbd7dd8618d1367 /include | |
parent | e0bbafc253fc69cd9f0e6629cf33c5d247cc9978 (diff) |
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
Diffstat (limited to 'include')
-rw-r--r-- | include/types/wlr_seat.h | 2 |
1 files changed, 2 insertions, 0 deletions
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); |