Focus model

Harold h.aling at home.nl
Tue Jul 19 09:11:07 CEST 2005


I didn't have the time to check it out, but this is what I found in 
Bugzilla:

"Bugzilla Bug 643:

Bug:
It would be nice to have the option to prevent new windows from grabbing the
focus if you're typing, scrolling etc in the current window.  I'm not 
sure how
other window managers do it, but kwm's recent versions have various 
levels of
the strength of this option.

Comment:
 From xfwm4 documentation:

Some hidden options allow you to customize xfwm4 behaviour. They have to be
added by hand to your HOME/.config/xfce4/xfwm4/xfwm4rc file. You may have to
create this file.

[...]

prevent_focus_stealing=true

    Add this line to your xfwm4rc file to prevent windows from stealing 
focus.

Please note that this option is disabled by default because many apps don't
update their "NET_WM_USER_TIME" field very well IMHO."


Maybe this will solve it? If so, maybe it's better to unhide this option?


roger wrote:

>Hi,
>
>Harold, I fully agree with you. That would be nice to have, optionally, a 
>bit-more-clever focus: by default, give the focus to newly created windows 
>but prevent absurd situations such as the one you mentioned where a password 
>ends up showing up in a terminal.
>I'm not sure how difficult that would be to implement, though.
>
>Cheers,
>Roger
>



More information about the Xfce mailing list