Skip to content

fix: correctly track BaseWindow::IsActive() on MacOS#49460

Merged
jkleinsc merged 1 commit intoelectron:mainfrom
kycutler:kycutler/macfocus
Mar 18, 2026
Merged

fix: correctly track BaseWindow::IsActive() on MacOS#49460
jkleinsc merged 1 commit intoelectron:mainfrom
kycutler:kycutler/macfocus

Conversation

@kycutler
Copy link
Contributor

Description of Change

Extend #24286 to BaseWindow

Checklist

Release Notes

Notes: Fixed improper focus tracking in BaseWindow on MacOS

@electron-cation electron-cation bot added the new-pr 🌱 PR opened recently label Jan 20, 2026
@deepak1556 deepak1556 requested a review from codebytere January 20, 2026 17:28
@deepak1556 deepak1556 added semver/patch backwards-compatible bug fixes target/39-x-y PR should also be added to the "39-x-y" branch. target/40-x-y PR should also be added to the "40-x-y" branch. target/41-x-y PR should also be added to the "41-x-y" branch. labels Jan 20, 2026
@deepak1556
Copy link
Member

LGTM, can you add a test. Thanks!

@electron-cation electron-cation bot removed the new-pr 🌱 PR opened recently label Jan 21, 2026
Copy link
Member

@ckerr ckerr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code looks fine. Agree with @deepak1556 about adding a test if possible

@ckerr
Copy link
Member

ckerr commented Feb 19, 2026

@kycutler do you have time to add a test to this PR?

@ckerr
Copy link
Member

ckerr commented Feb 24, 2026

I'd prefer a test for this but wouldn't block the PR on it

@github-actions github-actions bot added the target/42-x-y PR should also be added to the "42-x-y" branch. label Mar 13, 2026
@jkleinsc jkleinsc merged commit ade684d into electron:main Mar 18, 2026
69 checks passed
@release-clerk
Copy link

release-clerk bot commented Mar 18, 2026

Release Notes Persisted

Fixed improper focus tracking in BaseWindow on MacOS

@trop
Copy link
Contributor

trop bot commented Mar 18, 2026

I have automatically backported this PR to "40-x-y", please check out #50337

@trop
Copy link
Contributor

trop bot commented Mar 18, 2026

I have automatically backported this PR to "39-x-y", please check out #50338

@trop trop bot removed the target/40-x-y PR should also be added to the "40-x-y" branch. label Mar 18, 2026
@trop
Copy link
Contributor

trop bot commented Mar 18, 2026

I have automatically backported this PR to "42-x-y", please check out #50339

@trop
Copy link
Contributor

trop bot commented Mar 18, 2026

I have automatically backported this PR to "41-x-y", please check out #50340

@trop trop bot added in-flight/41-x-y merged/42-x-y PR was merged to the "42-x-y" branch. merged/41-x-y PR was merged to the "41-x-y" branch. merged/39-x-y PR was merged to the "39-x-y" branch. merged/40-x-y PR was merged to the "40-x-y" branch. and removed target/39-x-y PR should also be added to the "39-x-y" branch. target/42-x-y PR should also be added to the "42-x-y" branch. target/41-x-y PR should also be added to the "41-x-y" branch. in-flight/42-x-y in-flight/41-x-y in-flight/39-x-y in-flight/40-x-y labels Mar 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merged/39-x-y PR was merged to the "39-x-y" branch. merged/40-x-y PR was merged to the "40-x-y" branch. merged/41-x-y PR was merged to the "41-x-y" branch. merged/42-x-y PR was merged to the "42-x-y" branch. semver/patch backwards-compatible bug fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants