Focus model

roger rstmp at iinet.com.au
Sat Jul 23 11:55:56 CEST 2005


Hi,

I created ~/.config/xfce4/xfwm4/xfwm4rc (read-able by everyone) with the only 
line:
	prevent_focus_stealing=true

Are you aware of a test case that would allow me to check this is considered?
I couldn't find any; for example I would like that a password doesn't end up 
(in clear) in a newly-opened terminal.
In my case
- opening a Terminal
- launching a 2nd Terminal
- starting typing restlessly in the 1st Terminal before the 2nd be up
always ends up with the last input characters showing up in the 2nd Terminal 
as soon as it is there.

I run Xfce 4.2.2, the focus model is "Click to focus" and the "Automatically 
raise windows when they receive focus" checkbox is set.

Thanks,
Roger

On Tue, 19 Jul 2005 08:24, Brian J. Tarricone wrote:
> Harold wrote:
> > Is it possible to set a more 'Windows'-like focus model in XFCE4?
> >
> > For example: When launching a program wich takes some time to open, I
> > launch a terminal and try to su to root. While typing the root password,
> > the previously, slow opening program opens and steals focus and gets the
> > password as input...
> >
> > In Microsoft's implementation of an OS, a new process is timestamped at
> > execution or when manually selected so if you create multiple new
> > processes, the one with the latest timestamp will remain focussed...
>
> Hidden option "prevent_focus_stealing":
> http://www.loculus.nl/xfce/documentation/docs-4.2/xfwm4.html#hidden_options
>
> Note that this also relies somewhat on the application to support it,
> IIRC, so it may not work in all cases, and it may not behave exactly as
> you'd like.
>
> 	-brian
>
> _______________________________________________
> Xfce mailing list
> Xfce at xfce.org
> http://foo-projects.org/mailman/listinfo/xfce
> http://www.xfce.org



More information about the Xfce mailing list