I'd like OS X to stop switching Desktops when an app gains focus. The traditional solutions to this do not work in Sierra. There is now a new behavior: if an app is brought to the foreground twice in a row (i.e. click on the app icon in the Dock twice), then the Space automagically switches.
I have not seen this new behavior until upgrading to Sierra, and have not yet seen any solution how disable it.
When switching to an application, switch to a Space with open windows for the application, nor
defaults write com.apple.Dock workspaces-auto-swoosh -bool NO stop this behavior.
Is there some way to stop Spaces from switching spaces when the active app is activated a second time?