diff options
author | tiosgz <alamica@protonmail.com> | 2021-09-28 10:51:10 +0000 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2021-10-02 11:38:40 +0200 |
commit | ce66244fd2fefed00094d0f1e46fff8e8660c184 (patch) | |
tree | 6126bad52dfdef3bc6500a114c240f3006c39179 /include/wlr | |
parent | 893434b2d4d2929636189ce45ba2e04dfd73817f (diff) |
surface_at: check if surfaces are mapped
Diffstat (limited to 'include/wlr')
-rw-r--r-- | include/wlr/types/wlr_surface.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/wlr/types/wlr_surface.h b/include/wlr/types/wlr_surface.h index f33ac5b1..ae3ae80f 100644 --- a/include/wlr/types/wlr_surface.h +++ b/include/wlr/types/wlr_surface.h @@ -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. */ |