aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-03-30 23:05:49 -0400
committerGitHub <noreply@github.com>2018-03-30 23:05:49 -0400
commitf133170ff0187247b13c227bd2527a273c54f13f (patch)
tree3dd4cc0c4317d2da3a6791ecb631be270bd9e176 /include
parent2053a4c144bdde2df5cb7b6b7036cde008372493 (diff)
parente19ee6d469a98d2957e614243ea30674be1977f7 (diff)
Merge pull request #787 from swaywm/input-point
Add wlr_surface_point_accepts_input
Diffstat (limited to 'include')
-rw-r--r--include/wlr/types/wlr_surface.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/wlr/types/wlr_surface.h b/include/wlr/types/wlr_surface.h
index 5c5b012f..4d03df73 100644
--- a/include/wlr/types/wlr_surface.h
+++ b/include/wlr/types/wlr_surface.h
@@ -134,6 +134,9 @@ struct wlr_surface *wlr_surface_get_main_surface(struct wlr_surface *surface);
struct wlr_subsurface *wlr_surface_subsurface_at(struct wlr_surface *surface,
double sx, double sy, double *sub_x, double *sub_y);
+bool wlr_surface_point_accepts_input(
+ struct wlr_surface *surface, double sx, double sy);
+
void wlr_surface_send_enter(struct wlr_surface *surface,
struct wlr_output *output);