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

More updates to space switching #48

Merged
merged 1 commit into from
May 23, 2024
Merged

More updates to space switching #48

merged 1 commit into from
May 23, 2024

Conversation

mogenson
Copy link
Owner

Use a coroutine to handle focusing a space after switching. MacOS will sometimes switch the focus of a window to another application when moving a window to a new space. Try to focus a window 3 times when it is added to a new space.

Revert to dragging a window to a new space with a mouse. Using the hs.window:move() method fails when the old and new space are on the same screen. We need the mouse to "pick up" a window so that it moves with the space change.

Use a coroutine to handle focusing a space after switching. MacOS will
sometimes switch the focus of a window to another application when
moving a window to a new space. Try to focus a window 3 times when it is
added to a new space.

Revert to dragging a window to a new space with a mouse. Using the
hs.window:move() method fails when the old and new space are on the same
screen. We need the mouse to "pick up" a window so that it moves with
the space change.
@mogenson mogenson merged commit 44944a8 into main May 23, 2024
1 check passed
@mogenson mogenson deleted the focus-space-coro branch May 23, 2024 00:56
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.

1 participant