Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How do I stop an application from stealing focus?

I'm working on an Android project in Android Studio, and I start on the command line with Mercurial while Android Studio starts up. AS takes a little while, and several times during its startup process it steals focus, interrupting me and redirecting input.

Is there any way to bar a process from stealing focus? Or to force focus to stay on an application or window (terminal)?