home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / sgi / 11630 < prev    next >
Encoding:
Internet Message Format  |  1992-07-29  |  1.2 KB

  1. Path: sparky!uunet!cs.utexas.edu!sun-barr!ames!agate!dog.ee.lbl.gov!overload.lbl.gov!lll-winken!anduin!wiltzius
  2. From: wiltzius@anduin.ocf.llnl.gov (Dave Wiltzius)
  3. Newsgroups: comp.sys.sgi
  4. Subject: Xt Button Events
  5. Message-ID: <131869@lll-winken.LLNL.GOV>
  6. Date: 30 Jul 92 03:14:12 GMT
  7. Sender: usenet@lll-winken.LLNL.GOV
  8. Organization: Lawrence Livermore Nat'l Lab.
  9. Lines: 19
  10. Nntp-Posting-Host: anduin.ocf.llnl.gov
  11.  
  12. I'm using Xt event handlers for mouse button press, release and
  13. motion events to generate "echoing" such as rubberbanding.
  14. However, on IRIX 4.0.1 (and 4.0.4) I notice that I occasionally
  15. miss button release events.  This usually occurs when the mouse
  16. is in motion while the button is released.  So, assuming the
  17. mouse is polled say 100 times a second, periodically the mouse
  18. would generate a motion *and* button release event on the single
  19. polling cycle.  Perhaps the software is then erroneously reporting
  20. just the motion event.
  21.  
  22. My software is not using any of the X event queue manipulation
  23. routines such as XNextEvent.
  24.  
  25. Any suggestions?  Thanks much.  Please email since our news service
  26. is flakey.
  27.  
  28.   Dave Wiltzius
  29.   Lawrence Livermore Nat'l Lab
  30.   wiltzius@llnl.gov
  31.