Files
Lam Wei Lun ec6e124658 Fix main window opening fullscreen instead of maximized on X11 (#17585)
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.
2026-11-22 18:14:35 -06:00
..