wayland::serv...int_adjustment(3)

πŸ’… wayland::serv...int_adjustment(3) πŸ’…

Hey bestie, welcome to this Wayland++ manual page! This one is all about wayland::server::zxdg_positioner_v6_constraint_adjustment, and it's lowkey iconic because it explains how the compositor can nudge a surface around when the unadjusted position would be partly constrained. ✨

🌸 NAME 🌸

wayland::server::zxdg_positioner_v6_constraint_adjustment β€” constraint adjustments

πŸ¦‹ SYNOPSIS πŸ¦‹

#include <wayland-server-protocol-unstable.hpp>

πŸ’– Detailed Description πŸ’–

Okay so, constraint adjustments are the vibe here. The constraint adjustment value defines the ways the compositor will adjust the position of the surface, if the unadjusted position would result in the surface being partly constrained. No cap. πŸ’…

Whether a surface is considered 'constrained' is left to the compositor to determine. Highkey important: that call belongs to the compositor. 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, and the order is literally:

  1. Flip
  2. Slide
  3. Resize
Precedence check, bestie: 1) Flip, 2) Slide, 3) Resize. That's the ranking. Don't scramble it. 😭

Definition at line 9147 of file wayland-server-protocol-unstable.hpp. πŸŽ€

✨ Author ✨

Generated automatically by Doxygen for Wayland++ from the source code. Not me writing a cute little bio β€” just the Doxygen machine doing its iconic thing. πŸ€–πŸ’–


Version 1.0.1 Β· Fri Mar 27 2026 Β· Wayland++ Β· bye bestie, go adjust those constraints responsibly πŸ’…βœ¨

πŸ“¦ where this page comes from