home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!haven.umd.edu!darwin.sura.net!spool.mu.edu!uwm.edu!ogicse!das-news.harvard.edu!cantaloupe.srv.cs.cmu.edu!H.GP.CS.CMU.EDU!drew
- From: drew+@CS.CMU.EDU (Paul Olbrich)
- Newsgroups: comp.windows.x
- Subject: XSendEvent time
- Keywords: time
- Message-ID: <C0GovI.769.2@cs.cmu.edu>
- Date: 7 Jan 93 02:14:05 GMT
- Article-I.D.: cs.C0GovI.769.2
- Sender: news@cs.cmu.edu (Usenet News System)
- Organization: Carnegie Mellon University
- Lines: 14
- Nntp-Posting-Host: h.gp.cs.cmu.edu
-
- I'm generating my own mouse movement events with XSendEvent, and
- sending them to myself. I'd really like the X server to timestamp them,
- but instead, it just passes along whatever time value I've set
- in the synthetic event. But I don't know what time it'll be when
- the X server gets the event.
-
- Any easy way to do this?
-
- I guess I should just be using select() and doing the
- timeout that way. Ugh.
-
-
- Drew Olbrich
- drew@cs.cmu.edu
-