I will often use Spaces on Mac OS X 10.5 to switch to another space when a program is busy / unresponsive. Very often, without warning or apparent reason, Spaces will switch back to the first space without my requesting it to do so. Why does it do this and how can i stop it? How can I make spaces only switch in response to my requests?
Stop Spaces from switching spaces due to an app coming to the foreground:
Or via the GUI:
Stop (slow down) Spaces from switching spaces if your mouse presses against the edge of the desktop: