Skip to content

FiniteOverlayInfo

The FiniteOverlayInfo struct stores configuration data for a layer_shell window in a FiniteShell, including anchor, size, and margins.

typedef struct {
uint32_t anchor;
int width;
int height;
FiniteOverlayMargin margin;
} FiniteOverlayInfo;
TypeDescription
uint32_t anchorThe zwlr_layer_shell_v1_anchor to snap to. Use the provided enum values.
int widthWidth of the overlay in pixels.
int heightHeight of the overlay in pixels.
FiniteOverlayMargin marginMargins around the overlay (top, bottom, left, right).

This is created automatically by finite_overlay_set_margin