mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-11-22 21:50:51 -05:00
Restore a maximized main window without resizing it on X11 Mutter/Muffin turn a client resize of an undecorated window to exactly the monitor rect into a fullscreen window, so the main frame came up fullscreen instead of maximized when the panel reserved no strut (#17191). On X11, skip SetSize when the saved state is maximized and skip window_pos_sanitize for maximized or fullscreen windows. Windows and macOS keep the resize, which sets the normal size Restore Down returns to. persist_window_geometry also ignored the window name and stored the non-modal settings dialog under window_mainframe. Use the window's own name.