RFE: Never, ever steal focus.

Till Maas opensource at till.name
Wed Jan 6 20:21:30 UTC 2010


On Wed, Jan 06, 2010 at 02:24:17PM -0500, Adam Jackson wrote:
> On Wed, 2010-01-06 at 13:27 -0500, Fulko Hew wrote:
> 
> > On Wed, Jan 6, 2010 at 1:08 PM, Adam Jackson <ajax at redhat.com> wrote:
> >         There is no case where _you_ want this, sure.
> > 
> > I'd say... only take focus if its a child/creation of the window
> > currently in focus.
> 
> "creation of" is not something that's particularly well defined in X.
> Child windows are clipped to (wholly contained within) their parent, so
> in the evolution example from earlier, the compose window is a child of
> the root window, not of the mailbox view window.  So at window creation
> time, there's no obvious relationship between the compose and mailbox
> windows.
> 
> They do happen to have the same WM_CLASS and WM_CLIENT_LEADER window
> properties.  But that still only addresses automatic focus changes
> within a single application.  Automatic focus changes across apps is
> probably desirable; otherwise, nothing you launch from the gnome panel
> will launch focused, which is rather absurd.

How about making the gnome-panel give away its focus to the newly
created window? Within the gnome-panel, it should be pretty obvious
which actions should give away the focus and which should not. I do not
know, how easy to implement it is, though.

Regards
Till
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-devel-list/attachments/20100106/29d821c7/attachment.sig>


More information about the fedora-devel-list mailing list