From e3343cf7d1e0d8c429046887b4fc90be35b9cfba Mon Sep 17 00:00:00 2001 From: David96 Date: Sat, 2 May 2020 15:09:36 +0200 Subject: Add wlr_surface_accepts_touch --- include/wlr/types/wlr_seat.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include/wlr') diff --git a/include/wlr/types/wlr_seat.h b/include/wlr/types/wlr_seat.h index 1b912875..949cd419 100644 --- a/include/wlr/types/wlr_seat.h +++ b/include/wlr/types/wlr_seat.h @@ -678,4 +678,9 @@ struct wlr_seat_client *wlr_seat_client_from_resource( struct wlr_seat_client *wlr_seat_client_from_pointer_resource( struct wl_resource *resource); +/** + * Check whether a surface has bound to touch events. + */ +bool wlr_surface_accepts_touch(struct wlr_seat *wlr_seat, struct wlr_surface *surface); + #endif -- cgit v1.2.3