codebytere

#47740: fix: window accentColor should adhere to native window behavior

Merged
Created: Jul 14, 2025, 2:58:39 AM
Merged: Jul 17, 2025, 3:59:42 AM
5 comments
Target: main

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

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
Pending
Waiting for a manual backport
37-x-y
Pending
Waiting for a manual backport
38-x-y
In-flight
PR Number
#47802
Waiting to be merged

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