feature idea: prevent apps from stealing the focus

Olivier Fourdan fourdan at xfce.org
Thu Feb 19 22:31:34 CET 2004


Tom,

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.

In other words, I don't think it's a good idea :)

Cheers,
Olivier.

On Thu, 2004-02-19 at 22:25, Tom Wesley wrote:
> Hi,
> 
> I propose a feature for xfwm4 that would prevent new applications from
> grabbing the keyboard focus from the current active window.  Whether
> this window should become top-visible or not should probably be a user
> configurable option, as I can imagine people wanting different things
> from that.
> 
> What do people (and the one-a-day Oliver's ;) think?
-- 
 - Olivier Fourdan - fourdan at xfce.org - http://www.xfce.org - 





More information about the Xfce mailing list