Preventing focus stealing in an application



Hello,

A practical question regarding focus stealing.  VirtualBox creates quite
a few top-level windows as message boxes to pass on warnings or
information to the user.  With Metacity (Compiz too; haven't tried
Mutter and KWin seems unaffected), those message boxes always annoyingly
go right to the top of the window stack and grab the input focus from
whatever window had it just before.  Setting NET_WM_USER_TIME to zero
(double checked with "xprop" on the newly created window) doesn't seem
to help.  Does anyone have an idea what might be causing this?

Regards and thanks,

Michael
-- 
ORACLE Deutschland B.V. & Co. KG   Michael Thayer
Werkstrasse 24                     VirtualBox engineering
71384 Weinstadt, Germany           mailto:michael thayer oracle com

Hauptverwaltung: Riesstr. 25, D-80992 München
Registergericht: Amtsgericht München, HRA 95603

Komplementärin: ORACLE Deutschland Verwaltung B.V.
Hertogswetering 163/167, 3543 AS Utrecht, Niederlande
Handelsregister der Handelskammer Midden-Niederlande, Nr. 30143697
Geschäftsführer: Jürgen Kunz, Marcel van de Molen, Alexander van der Ven



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]