surface_at: check if surfaces are mapped

This commit is contained in:
tiosgz 2021-09-28 10:51:10 +00:00 committed by Simon Ser
parent 893434b2d4
commit ce66244fd2
4 changed files with 16 additions and 1 deletions

View file

@ -233,7 +233,8 @@ bool wlr_surface_point_accepts_input(struct wlr_surface *surface,
double sx, double sy);
/**
* Find a surface in this surface's tree that accepts input events at the given
* Find a surface in this surface's tree that accepts input events and has all
* parents mapped (except this surface, which can be unmapped) at the given
* surface-local coordinates. Returns the surface and coordinates in the leaf
* surface coordinate system or NULL if no surface is found at that location.
*/