Re: No focus on map hint



On Friday 14 of March 2003 17:39, Havoc Pennington wrote:
> On Fri, Mar 14, 2003 at 03:05:43PM +0100, Lubos Lunak wrote:
> >  I like this, and I'm in favour of this.
> >
> >  And in fact, I think it could help me to solve a little problem related
> > to startup notification. In case you don't know, KDE has a feature that
> > tries to avoid stealing focus, e.g. imagine you are typing in kwrite,
> > then you decide to visit some www site, so you start Konqueror, and while
> > waiting for Konqueror to start up, you keep typing in kwrite. Newly
> > started Konqueror won't get focus and therefore won't interrupt the
> > typing.
> >
> >  The current implementation is basically just a hack, so I'd prefer this
> > cleaner solution. The environment variable needed for it could be simply
> > handled together with startup notification, so that wouldn't be a
> > problem.
>
> The proposed property sounds fine to me, but I'm curious why startup
> notification doesn't work for this - it seems to me that it'd be
> perfectly reliable to do it via startup notification (I was planning
> to do it that way in fact).

 Because startup notification right now doesn't have any data providing the 
timestamp (ID is some unique random unspecified string). But since this 
mechanism for not focusing newly mapped windows is very similar to startup 
notification, perhaps this mechanism should become part of it rather than 
part of the WM spec?

 BTW, I can't see the startup notification spec anywhere at 
www.freedesktop.org, could you put the newest version there?

 BTW #2 : The startup notification spec has a FIXME about using 
PropertyNotifyMask being bad choice. In case it's not too late already, we 
could use StructureNotifyMask instead (like ICCCM manager selections).

-- 
Lubos Lunak
KDE developer
---------------------------------------------------------------------
SuSE CR, s.r.o.  e-mail: l lunak suse cz , l lunak kde org
Drahobejlova 27  tel: +420 2 9654 2373
190 00 Praha 9   fax: +420 2 9654 2374
Czech Republic   http://www.suse.cz/




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]