koekeishiya / yabai

A tiling window manager for macOS based on binary space partitioning

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Opening a new window that switches the focus to another space focuses Finder, not the window.

B-Ricey763 opened this issue · comments

Whenever I use a rule or focus a space in which no window has been focused, my focus is set to Finder, not the window. This behavior can also be seen when you close a window that is split-screened with another: when you close the window, focus remains even though it is not visible anymore.

I'm assuming this is just some quirk of MacOS, but it is so annoying to switch to a new space and have to click with my mouse to focus the window I literally just created and switched to.

One easy replication is to have a rule that puts a window in a specific space:
yabai -m rule --add app="^Spotify$" space="^7"
When you open Spotify, it switches to space 7 but finder is focused, not spotify.