feature idea: prevent apps from stealing the focus

Tom Wesley tom.wesley at ntlworld.com
Thu Feb 19 23:41:18 CET 2004


On Thu, 2004-02-19 at 22:32, Brian J. Tarricone wrote:
> On Thu, 19 Feb 2004, Olivier Fourdan wrote:
> 
> > Nothing can prevent an app from changing focus (XSetInputFocus() can be
> > called from any app).
> > 
> > The WM could try to revert the change, but that's a bit like a hack. I
> > can imagine that an app calling XSetInputFocus() does that for good
> > reasons.
> 
> tho i'm not 100% sure, i think he's mainly talking about new windows 
> (dialogs, whatever) popping up and stealing focus, simply because new 
> windows are set to receive the focus.  (tom, this is actually 
> configurable: window manager preferences->keyboard and 
> focus->automatically give focus to newly created windows).
> 
> what i personally would like to see is for xfwm to be smarter about it.  
> by default, give new windows focus.  but as an exception, if i'm typing 
> something (i.e., there's been a keypress event within the last x 
> milliseconds), don't give the new window focus, and don't raise it to 
> the top of the stack.  iirc, metacity does this, which was inspired by 
> (i hate to say it) windows xp.
> 
> 	-brian

He said it, even the Windows XP stuff I didn't dare mention! ;)

-- 
Tom Wesley
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://mail.xfce.org/pipermail/xfce/attachments/20040219/f581825c/attachment.pgp>


More information about the Xfce mailing list