fix: window accentColor should adhere to native window behavior#47740
fix: window accentColor should adhere to native window behavior#47740codebytere merged 3 commits intomainfrom
accentColor should adhere to native window behavior#47740Conversation
|
👍 , @codebytere this probably deserves some updates to the docs around this option so that its really clear whats happening depending on the property use. |
1273396 to
3435aca
Compare
3435aca to
31d8bc7
Compare
|
Release Notes Persisted
|
|
I was unable to backport this PR to "37-x-y" cleanly; |
|
I was unable to backport this PR to "36-x-y" cleanly; |
|
I have automatically backported this PR to "38-x-y", please check out #47802 |
|
/trop run backport-to 37-x-y,36-x-y |
|
The backport process for this PR has been manually initiated - sending your PR to |
|
The backport process for this PR has been manually initiated - sending your PR to |
|
I have automatically backported this PR to "37-x-y", please check out #48011 |
|
I have automatically backported this PR to "36-x-y", please check out #48012 |
…ectron#47740) * fix: window accentColor should adhere to native window behavior * fix: address review feedback * chore: remove duplicate UpdateWindowAccentColor call in ctor
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: trueor a color in which case it will be drawn on all windows.cc @bpasero
Checklist
npm testpassesRelease Notes
Notes: Fixes an issue where the accent border was drawn on all windows regardless of the window's active focused status.