home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / windows / x / 20843 < prev    next >
Encoding:
Internet Message Format  |  1993-01-06  |  910 b 

  1. 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
  2. From: drew+@CS.CMU.EDU (Paul Olbrich)
  3. Newsgroups: comp.windows.x
  4. Subject: XSendEvent time
  5. Keywords: time
  6. Message-ID: <C0GovI.769.2@cs.cmu.edu>
  7. Date: 7 Jan 93 02:14:05 GMT
  8. Article-I.D.: cs.C0GovI.769.2
  9. Sender: news@cs.cmu.edu (Usenet News System)
  10. Organization: Carnegie Mellon University
  11. Lines: 14
  12. Nntp-Posting-Host: h.gp.cs.cmu.edu
  13.  
  14. I'm generating my own mouse movement events with XSendEvent, and
  15. sending them to myself.  I'd really like the X server to timestamp them,
  16. but instead, it just passes along whatever time value I've set
  17. in the synthetic event.  But I don't know what time it'll be when
  18. the X server gets the event.
  19.  
  20. Any easy way to do this?
  21.  
  22. I guess I should just be using select() and doing the
  23. timeout that way.  Ugh.
  24.  
  25.  
  26. Drew Olbrich
  27. drew@cs.cmu.edu
  28.