VerteDinde

#53063: fix: window stuck maximized on Wayland after early maximize()

Merged
Created: Aug 21, 2026, 1:49:47 AM
Merged: Aug 23, 2026, 2:41:37 AM
4 comments
Target: main

Description of Change

On Linux/Wayland, a BrowserWindow that calls maximize() before the compositor's first xdg_toplevel.configure arrives. This PR fixes that hiccup.

Checklist

Release Notes

Notes: Fixed BrowserWindow.unmaximize() and restore() having no effect on Wayland when the window was maximized immediately after creation.

Backports

42-x-y
Merged
PR Number
#53126
Merged At
Aug 23, 2026, 8:09:19 PM
Released In
Not yet
Release Date
Not yet
43-x-y
In-flight
PR Number
#53125
Waiting to be merged
44-x-y
Merged
PR Number
#53124
Merged At
Aug 23, 2026, 8:03:14 PM
Released In
Not yet
Release Date
Not yet

Semver Impact

Major
Breaking changes
Minor
New features
Patch
Bug fixes
None
Docs, tests, etc.

Semantic Versioning helps users understand the impact of updates:

  • Major (X.y.z): Breaking changes that may require code modifications
  • Minor (x.Y.z): New features that maintain backward compatibility
  • Patch (x.y.Z): Bug fixes that don't change the API
  • None: Changes that don't affect using facing parts of Electron