focus stealing prevention

Olivier FOURDAN fourdan.olivier at wanadoo.fr
Thu Feb 23 13:13:13 CET 2006


Hey Brian,

> Olivier Fourdan wrote:

> > I think it's up to the application to update their NET_WM_USER_TIME 
> > property based on the user activity as documented in the specs, as the 
> > window manager is not necessarily notified of all keyboard and mouse 
> > events that occurred in applications windows.
> 
> Yeah, I know.  I'll be the first one to get annoyed at people who don't
> implement the spec properly, and cause apps that depend on the spec to
> function improperly.
> 
> BUT, I'd much rather functional focus-stealing prevention.

Maybe I've not made myself clear enough, sorry. The key part in my sentence was the "window manager is not necessarily notified of all keyboard and mouse events that occurred in applications windows"

That means that the window manager may not be able to track all the events unless it systematically grabs the mouse and keyboard, which breaks some apps in some cases (see bug #92 for such an example).

That's why I'm saying that it's better to fix the apps, it's really not that I don't want to improve or change the window manager.

[1] http://bugzilla.xfce.org/show_bug.cgi?id=92

Cheers,
Olivier.






More information about the Xfce4-dev mailing list