Wayland has the most restrictive design for positioning popups; so attributes for popup position will roughly follow Wayland's xdg_positioner. This requires rectangles.
While you could just use dpi::Position and dpi::Size, it's not nearly as idiomatic, and generally speaking, you want both position and size to be of the same type (physical/logical).
Description
This will be necessary for #3928/#403.
Wayland has the most restrictive design for positioning popups; so attributes for popup position will roughly follow Wayland's xdg_positioner. This requires rectangles.
While you could just use
dpi::Position
anddpi::Size
, it's not nearly as idiomatic, and generally speaking, you want both position and size to be of the same type (physical/logical).Relevant platforms
Windows, macOS, Wayland, X11, Web, iOS, Android