Focus Stealing Prevention
fourdan at xfce.org
Wed Jul 6 21:57:12 CEST 2005
On Thu, 2005-06-30 at 13:22 -0700, Brian J. Tarricone wrote:
> Yeah, I'd meant to bring this up at some point. Olivier, I'm not sure
> how much the WM controls this, but I've noticed some annoying behavior.
> For example, I have ctrl+shift+2 bound to open a new terminal. It
> generally opens quickly enough after I release the keys that the new
> terminal doesn't get focus. For other instances it's really useful when
> I'm typing somewhere and another app opens a random dialog, or when I
> start up a slow-starting application and go to type somewhere else where
> it loads. But it just doesn't feel as smooth as (sorry to say it)
> Windows does in this regard. Maybe it's just a matter of tweaking
> timeouts, but I often find that some windows that should be getting the
> focus, aren't.
If I understand well, focus prevention works with the help of the
applications. The application has to update its NET_WM_USER_TIME so
thats the WM knows if there is some user activity with the given window.
I might be wrong, but I think some apps don't update the
NET_WM_USER_TIME property reliably.
More information about the Xfce4-dev