diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-03-30 22:19:33 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2018-03-30 23:02:11 -0400 |
commit | e19ee6d469a98d2957e614243ea30674be1977f7 (patch) | |
tree | 3dd4cc0c4317d2da3a6791ecb631be270bd9e176 /include | |
parent | 2053a4c144bdde2df5cb7b6b7036cde008372493 (diff) |
Add wlr_surface_point_accepts_input
Ref https://github.com/swaywm/sway/pull/1674
Diffstat (limited to 'include')
-rw-r--r-- | include/wlr/types/wlr_surface.h | 3 |
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); |