RFE: Never, ever steal focus.
Adam Jackson
ajax at redhat.com
Wed Jan 6 19:15:39 UTC 2010
On Wed, 2010-01-06 at 12:35 -0600, Serge E. Hallyn wrote:
> Quoting Adam Jackson (ajax at redhat.com):
> > On Wed, 2010-01-06 at 11:23 -0600, Serge E. Hallyn wrote:
> > > There is no case where I want a new window or popup to take focus. Makes
> > > for an easy algorithm. (hitting r in mutt is not a problem :)
> >
> > There is no case where _you_ want this, sure.
>
> Yes, exactly. You're saying that
> 1. there are cases where you want a window to pop up
> 2. it's too complicated to figure out which windows should pop up
> 3. so windows should always pop up, no point being configurable
>
> and ridiculing us over (2). I'm saying there are no cases where I want
> a popup, so we can easily have 2 configurable options: always have windows
> pop up and take focus, never have them do so.
Ahh, I see the misunderstanding here: I'm not arguing point three. I'm
not even really arguing point 2, as you phrased it; it's not _too_
complicated, it's merely complicated.
I'm arguing that there exists an implementation that tries to prevent
focus stealing, and trying to illustrate why that's a hard problem. And
thus, why the OP's RFE as stated, is either not achievable, or not
desirable.
I mean, in some sense, this is all academic anyway. It's trivial to
write an X app that steals focus, regardless of what the window manager
attempts to implement. But even assuming you're running relatively
well-behaved applications, it's still not an easy problem.
- ajax
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
Url : http://lists.fedoraproject.org/pipermail/devel/attachments/20100106/f9c95e0c/attachment.bin
More information about the devel
mailing list