ckerr

#46918: refactor: simplify NativeWindow::FullScreenTransitionState

Merged
Created: May 3, 2025, 1:24:24 PM
Merged: May 5, 2025, 10:28:29 AM
4 comments
Target: main

Description of Change

We only care whether the window is transitioning, not whether the transition is entering or exiting. So let's simplify NativeWindow by replacing the tri-state transition state with an is_fullscreen_transitioning bool.

Checklist

Release Notes

Notes: none.

Backports

36-x-y
Merged
PR Number
#46933
Merged At
May 5, 2025, 2:54:00 PM
Released In
v36.2.0
Release Date
May 7, 2025, 12:02:14 PM
37-x-y
Merged
PR Number
#46929
Merged At
May 5, 2025, 1:26:42 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