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

can't switch desktop on other display. #9

Open
hansbogert opened this issue Apr 4, 2023 · 2 comments
Open

can't switch desktop on other display. #9

hansbogert opened this issue Apr 4, 2023 · 2 comments

Comments

@hansbogert
Copy link

when I press switch_space_2 which is on my other display, mission control opens but doesn't actually give focus to the space. I can then only press escape, and focus returns to the previous space.

@mogenson
Copy link
Owner

mogenson commented Apr 7, 2023

Ok, I see this too. Switch-to-space or move-window-to-space will open that space in Mission Control but the mouse and active menubar remains on the previous display.

I'll have to look to see what APIs are available to focus on a visible space. Programmatically moving and clicking the mouse seems like a fragile and bad idea.

In the mean time, the window tiling is robust to you manually opening mission control to switch spaces and clicking to focus a new space with your mouse. You'll still need to use the move-window-to-space keyboard shortcut to tell the tiling to "let go" of the window.

@shmygol
Copy link

shmygol commented Aug 14, 2024

I have the same problem. Currently my screens have only one space and for me it works more reliably if I just comment out gotoSpace in PaperWM:switchToSpace function. Thus instead of using Mission Control to switch between spaces PaperWM focus a window on a different screen, which triggers switching. Unfortunately I don't know how would it work with mayn spaces on a single screen.

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

No branches or pull requests

3 participants