RE: How to convert the server time in xEvent to system time?

2004-08-11 Thread Marc Aurele La France
On Tue, 10 Aug 2004, Weidong Cui wrote: > Does anybody know how X computes the time stamp for xEvents? The Source, Luke. Use the Source... > > xEvent.u.keyButtonPointer.time (aka 'server time'?), defined > > in X11/Xproto.h, indicates the number of milliseconds elapsed > > since the X server st

RE: How to convert the server time in xEvent to system time?

2004-08-10 Thread Weidong Cui
r > -Original Message- > From: Weidong Cui [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 10, 2004 3:32 PM > To: [EMAIL PROTECTED] > Subject: How to convert the server time in xEvent to system time? > > > Hi, There, > > xEvent.u.keyButtonPointer.time (aka 'ser

Re: How to convert the server time in xEvent to system time?

2004-08-10 Thread Oliver Welter
Am 11.08.2004 00:31:59 schrieb(en) Weidong Cui: Hi, There, xEvent.u.keyButtonPointer.time (aka 'server time'?), defined in X11/Xproto.h, indicates the number of milliseconds elapsed since the X server started. I want to convert it to an "absolute" time which then can be compared with times rec

How to convert the server time in xEvent to system time?

2004-08-10 Thread Weidong Cui
Hi, There, xEvent.u.keyButtonPointer.time (aka 'server time'?), defined in X11/Xproto.h, indicates the number of milliseconds elapsed since the X server started. I want to convert it to an "absolute" time which then can be compared with times recorded by gettimeofday () in some other program. Unf