This is a backport PR for branch 42-x-y
codebytere

#52045: fix: frameless window shrinks on maximize() when compositor declines

Open
Created: Jun 17, 2026, 12:50:12 PM
0 comments
Target: 42-x-y

Manual backport of #52012

See that PR for details.

Notes: Fixes an issue where clicking the maximize button could progressively shrink the window in some Wayland environments.

Backport Information

Original PR Author
codebytere
Original PR Status
Merged
Original PR Merged At
Jun 17, 2026, 9:55:07 AM
Original PR Link
GitHubView on GitHub

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