yabai
yabai copied to clipboard
Prevent app from being focused when switching space
Greetings, ever since upgrading to MacOs Sonoma i have a strange issue. When i am screensharing in tuple and i do a yabai -m space --focus <space-id>
, the tuple app popup in the menu bar opens up and takes focus as the frontmost application.
I have a rule already set up to not manage tuple:
yabai -m rule --add app="^Tuple$" manage=off
And querying for windows in the space does not return a tuple window. Most probably because it is not a window but a popover or whatever they are called.
I'm unsure if this is an issue on yabai side or on tuple itself, but i have confirmed that the issue is not present when yabai is not running (switching spaces natively with mission control).
Is there a way to prevent the app from being focused when switching spaces?