Focus stealing prevention doesn't do anything?
Olivier Fourdan
fourdan at xfce.org
Wed Oct 25 21:05:36 CEST 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi
Andrew Robinson wrote
> Using that setting in Gaim, I have stopped the conversation windows
> from stealing focus, but all other apps seem to still steal the focus,
> including the keyboard focus. Applications that raise message boxes,
> or dialog boxes especially seem to have those opened windows steal the
> keyboard focus even though the parent window did not have the focus.
>
> I really haven't noticed any difference of setting the activate focus
> stealing. I would love it should there be a way that a program that is
> not active should *never* get the focus under no circumstances. The
> only new windows that should receive the focus should be those started
> by the task bar, new application windows (application was just
> started) or dialogs of applications that already have the focus. Any
> chance at all of having that type of functionality in the future?
Focus stealing prevention works with applications that implements the
standard _NET_WM_USER_TIME.
It prevents newly mapped windows to steal focus based on the different
time stamps.
It won't prevent an application calling XSetInputFocus() by itself or
using NET_ACTIVE_WINDOW with a timestamp of 0 (means current time) [2]
as the application is explicitly asking for focus and might base its
behavior on that...
[1] http://standards.freedesktop.org/wm-spec/wm-spec-1.4.html#id2511909
[2] http://standards.freedesktop.org/wm-spec/wm-spec-1.4.html#id2510440
Cheers,
Olivier.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFFP7WAFHBtvh5LRUARAsbmAJ9A1Pf4Fwg+5/ixMpCeDZPmE5BXZACdFS7L
WMpjGAPJLhiiDIkwo/a4s8U=
=UU12
-----END PGP SIGNATURE-----
More information about the Xfce
mailing list