Enum XdgPositioner.ConstraintAdjustment

constraint adjustments

enum ConstraintAdjustment : uint { ... }

The constraint adjustment value define ways the compositor will adjust the position of the surface, if the unadjusted position would result in the surface being partly constrained.

Whether a surface is considered 'constrained' is left to the compositor to determine. For example, the surface may be partly outside the compositor's defined 'work area', thus necessitating the child surface's position be adjusted until it is entirely inside the work area.

The adjustments can be combined, according to a defined precedence: 1) Flip, 2) Slide, 3) Resize.

Enum members

NameDescription
flipX
flipY
none
resizeX
resizeY
slideX
slideY