Preventing windows from grabbing the focus

Peter Romianowski <[email protected]>
Newsgroups gmane.comp.window-managers.ion.general
Organization optivo GmbH
Message-ID <20080819045528.638da3a2@pero-macbookpro>
Hi,

I am working with a java application (IntelliJ IDEA - a java IDE) that
requests the focus after each and every operation. So if I for example
start to compile my project within that IDE, switch to firefox on the
other frame then the focus gets stolen bei IntelliJ IDEA as soon as
compilation completes. 

This is absolutely annoying and has been reported as bug for both the
IDE (http://www.jetbrains.net/jira/browse/IDEABKL-3849) and in a
slightly different context for Java itself.
(http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5094112).

It would be great if I could just disable the focus request. Is this
possible? I already searched the web, the documentation and the
newsgroups for hours and hours but could not find a hint.

Regards

Peter

(As a side note: When the app steals the focus it does not fully
"activate" the frame. If the other frame is floating above the frame
the app is running in then the app is still beneath that other frame.)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.