#47740: fix: window accentColor
should adhere to native window behavior
Merged
Description of Change
Closes #47723.
Fixes an issue where the accent border was drawn on all windows regardless of the window's active focused status. As of this PR by default the accent border will be drawn on active frameless windows unless the user specified accentColor: true
or a color in which case it will be drawn on all windows.
cc @bpasero
Checklist
- PR description included and stakeholders cc'd
-
npm test
passes - tests are changed or added
- PR release notes describe the change in a way relevant to app developers, and are capitalized, punctuated, and past tense.
Release Notes
Notes: Fixes an issue where the accent border was drawn on all windows regardless of the window's active focused status.
Backports
36-x-y
PendingWaiting for a manual backport
37-x-y
PendingWaiting for a manual backport
38-x-y
In-flightSemver 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