X server programming question

Man-wai CHANG mwchang
Sat Sep 9 07:06:59 PDT 2006


> When a key is pressed, the X event contains a timestamp. It seems this
> is timestamp is, by design, a relative value related to when the X
> server started. Perfectly ok for relative timing, especially between
> networked machine, for which X is designed.
> 
> I want to get the absolute PC time. I have seen discussions of this on
> gaming sites, and no one has suggested a real solution. So, I am asking
> here to see what knowledge there may be.

Are you trying to alter the X protocol?

-- 
  .~.    http://changmw.homeip.net
 / v \   May the Force and Farce be with you! Linux 2.6.17.13
/( _ )\  (Ubuntu 6.06)  22:06:01 up 3:00 0 users
  ^ ^    load average: 1.01 1.02 1.00
news://news.3home.net news://news.hkpcug.org news://news.newsgroup.com.hk



More information about the Linux-users mailing list