Expand description
Native window behaviour: the commands a user expects from any desktop window — resize, zoom, minimize, tile — that the window library does not set up by itself.
- macOS: the system builds Zoom, Fill, Move & Resize (the ⌃⌘← tiling
shortcuts), Minimize and Bring All to Front from the app’s Window menu, and
winit’s default menu bar has none.
macosadds it. - Windows and Linux: the OS or the compositor draws the frame and does all of this already (Win+Arrow snapping, X11 window managers, Wayland client-side decorations), so there is nothing to add.
Call setup once the window exists and run the task it returns.