diff options
author | emersion <contact@emersion.fr> | 2018-03-30 23:05:49 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-30 23:05:49 -0400 |
commit | f133170ff0187247b13c227bd2527a273c54f13f (patch) | |
tree | 3dd4cc0c4317d2da3a6791ecb631be270bd9e176 /include | |
parent | 2053a4c144bdde2df5cb7b6b7036cde008372493 (diff) | |
parent | e19ee6d469a98d2957e614243ea30674be1977f7 (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.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); |