Add wlr_surface_point_accepts_input

Ref https://github.com/swaywm/sway/pull/1674
This commit is contained in:
Drew DeVault 2018-03-30 22:19:33 -04:00
parent 2053a4c144
commit e19ee6d469
3 changed files with 12 additions and 12 deletions

View file

@ -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);