Re: Small change to _NET_CURRENT_DESKTOP messages?



On Wednesday 16 of February 2005 20:25, Elijah Newren wrote:
> Hi,
>
> When we receive _NET_CURRENT_DESKTOP messages, we are picking a window
> to focus.  We'd like to use a real timestamp for that instead of
> making one up.  Would it be okay to add a timestamp field to
> _NET_CURRENT_DESKTOP messages in the EWMH?  Simple one-line patch that
> does so is attached...

 It should be hopefully fine. However there probably should be a note stating 
that with older apps the timestamp may be zero (which is obvious I guess), 
and the less obvious that with even older apps the field may be 
uninitialized. It wasn't _that_ long ago when I added all those "other 
data.l[] elements = 0", and I think at least the GNOME implementation hadn't 
been doing this before this change.

 *checking*

 Slightly less than two years ago, actually. I wonder if we can start more or 
less ignoring such old implementations by now.

-- 
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]