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:
double
X coordinate the surface to look up at in layout coordinates.
ly
-
Type:
double
Y 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:
PhocView
The corresponding
PhocView
The 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.