focus stealing prevention

Brian J. Tarricone bjt23 at cornell.edu
Thu Feb 23 03:19:44 CET 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hey Olivier,

I have a suggestion to improve the focus stealing prevention in xfwm4.
I noticed often I'll right click on the panel, and click "add new item",
and then the new item box will pop up, but unfocused and under other
windows.  This scenario -- a mouse click triggering a new window that
then doesn't get focused -- seems to happen often.  I'm not touching the
keyboard at all between the mouse click and the window getting mapped.

So my suggestion: track mouse clicks, and if there was no key press
between the last mouse click and the new window being mapped, give the
new window the focus (assuming the global "give new windows focus"
setting is set, of course).  I really feel like this would make the
focus stealing prevention more useful, and less frustrating.

What do you think?

	-brian

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (MingW32)

iD8DBQFD/RvA6XyW6VEeAnsRAqF3AKC/iK3tIXa0PtuAs/wu6kA2z/+z6ACgktlq
JInGMkCiqUD8UCVYFp7Cdi4=
=6fjG
-----END PGP SIGNATURE-----



More information about the Xfce4-dev mailing list