Method
PhocDesktopsurface_at
Declaration [src]
wlr_surface*
phoc_desktop_surface_at (
PhocDesktop* desktop,
double lx,
double ly,
double* sx,
double* sy,
PhocView** view
)
Description [src]
Looks up the surface at lx,ly and returns the topmost surface at
that position (if any) and the surface-local coordinates of sx,sy
on that surface.
Parameters
lx-
Type:
doubleX coordinate the surface to look up at in layout coordinates.
ly-
Type:
doubleY coordinate the surface to look up at in layout coordinates.
sx-
Type:
double*Surface-local x coordinate.
The argument will be set by the function. sy-
Type:
double*Surface-local y coordinate.
The argument will be set by the function. view-
Type:
PhocViewThe corresponding
PhocViewThe argument will be set by the function. The argument can be NULL.The caller of the method takes ownership of the data, and is responsible for freeing it.