Method

PhocOutputdamage_box

Declaration [src]

gboolean
phoc_output_damage_box (
  PhocOutput* self,
  const wlr_box* box
)

Description [src]

If damage overlaps with output add it and schedule a frame.

Parameters

box

Type: const wlr_box*

The damage box in output local coordinates.

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

Return value

Type: gboolean

TRUE if the damage overlapped with the output.