On 2005-07-22 20:57:12 +0100 Adrian Robert <[EMAIL PROTECTED]> wrote:
(While we're on this subject, could we change NSEvent timestamps to be in
seconds like OS X (and OpenStep for that matter), instead of
milliseconds?)
OS X and OPENSTEP return an NSTimeInterval just like GNUstep ... and they
don't round to the second either. The documentatiuon says 'in seconds',
but I think this just means that the unit of measurement is the second.
Not rounding, but ([eventB timestamp] - [eventA timestamp] on GNUstep) =
1000x (the value on OS X) for the same time difference. It occasionally
affects portability such as when you need to measure the time between two
events in user code.
Ah ... that sounds like a bug in the backend library which is creating the
NSEvent objects, I guess it is setting incorrect timstamp values
(milliseconds rather than seconds) there. I don't see any other way the
timestamps could be wrong.
_______________________________________________
Gnustep-dev mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnustep-dev