ckerr

#46918: refactor: simplify NativeWindow::FullScreenTransitionState

Merged
Created: May 3, 2025, 12:24:24 PM
Merged: May 5, 2025, 9: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, 1:54:00 PM
Released In
v36.2.0
Release Date
May 7, 2025, 11:02:14 AM
37-x-y
Merged
PR Number
#46929
Merged At
May 5, 2025, 12:26:42 PM
Released In
v37.0.0-alpha.4
Release Date
May 12, 2025, 8:31:44 AM

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