Method

PhocSurfaceadd_damage_box

Declaration [src]

void
phoc_surface_add_damage_box (
  PhocSurface* self,
  wlr_box* box
)

Description [src]

Convenience function to add a box to the surface’s damaged region. See phoc_surface_add_damage() for details.

Parameters

box

Type: wlr_box*

The box in surface local coordinates.

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