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

Focus new space after switching spaces #30

Merged
merged 1 commit into from
Feb 18, 2024

Conversation

mogenson
Copy link
Owner

@mogenson mogenson commented Feb 15, 2024

After switching to a new space, focus on a window in the new space.
Either focus on a provided window, or find the first visible window on
the new space. Sometimes MacOS will focus on a different window for the
same application so try three times to focus the window by first
activating the windows application.

Move the mouse to the center of the new space's screen. If there are no
windows on the new space, it is safe to click the mouse to focus the
space.

@mogenson
Copy link
Owner Author

@balloch

@mogenson mogenson changed the title Use the approach from MacWithoutMouse to focus a space on a new screen Focus new space after switching spaces Feb 16, 2024
@mogenson mogenson force-pushed the focus-screen-on-space-switch branch 2 times, most recently from 7120dec to e5de913 Compare February 18, 2024 20:28
After switching to a new space, focus on a window in the new space.
Either focus on a provided window, or find the first visible window on
the new space. Sometimes MacOS will focus on a different window for the
same application so try three times to focus the window by first
activating the windows application.

Move the mouse to the center of the new space's screen. If there are no
windows on the new space, it is safe to click the mouse to focus the
space.
@mogenson mogenson merged commit 0c5fe6e into main Feb 18, 2024
1 check passed
@mogenson mogenson deleted the focus-screen-on-space-switch branch February 18, 2024 20:33
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.

None yet

1 participant