Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: focus lost when closing tab when using stage manager on macOS #5163

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

AlexJuca
Copy link
Contributor

@AlexJuca AlexJuca commented Jan 16, 2025

This PR addresses an issue on macOS where the application loses focus and gets moved to the recently used apps list after closing a terminal window tab when Stage Manager is enabled. The fix ensures the application remains focused when closing tabs as is expected.

Demo

Screen.Recording.2025-01-16.at.23.10.45.video-converter.com.-2.mp4

Resolves #5108

@AlexJuca AlexJuca force-pushed the fix-do-not-lose-focus-after-closing-tab branch from f9f0672 to 702b37a Compare January 16, 2025 22:41
@AlexJuca
Copy link
Contributor Author

@mitchellh, Let me know if this looks good.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

MacOS: Closing tab causes window to lose focus when Stage Manager is enabled.
1 participant