Method

PhocOutputxdg_surface_for_each_surface

Declaration [src]

void
phoc_output_xdg_surface_for_each_surface (
  PhocOutput* self,
  wlr_xdg_surface* xdg_surface,
  double ox,
  double oy,
  PhocSurfaceIterator iterator,
  void* user_data
)

Description [src]

Iterate over surfaces in a wlr_xdg_surfaces surface tree.

Parameters

xdg_surface

Type: wlr_xdg_surface*

The wlr_xdg_surface.

The argument can be NULL.
The data is owned by the caller of the method.
ox

Type: double

X position in output coordinates.

oy

Type: double

Y position in output coordinates.

iterator

Type: PhocSurfaceIterator

The callback invoked on each iteration.

user_data

Type: void*

Callback user data.

The argument can be NULL.
The data is owned by the caller of the method.