fn nudged_dimension(value: u32) -> u32Expand description
The one transient intermediate size the nudge strategy resizes to
before restoring the real size, to provoke a fresh compositor configure
event. Grow by 1px so the size genuinely changes (a no-op resize is
coalesced away); if the window is already at the u32 ceiling, shrink
instead so the value still differs.
Pure so the “which size forces a configure” decision is unit-testable
without a windowing system; the actual set_size FFI stays in
apply_wayland_fix (Linux-only, so not linked here).