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@xxxxxxxxxx> 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
Attachment:
pgpflhgvWuM1D.pgp
Description: PGP signature
-- fedora-devel-list mailing list fedora-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-devel-list