On Thu, Jun 13, 2002 at 12:57:20PM -0700, Mark Vojkovich wrote:
>> And yes, the mouse events come in too slow and irregular.  Be nice to
>> have some realtime-ish guarantees about the mouse and keyboard input.
>> Or at least if someone could tell me how to do large image draws without
>> sacrificing speed, and without blocking processing of mouse events.  Do
>> I have to fork two processes?  Use two different threads?  Is that safe?
>> Do I have to break my big draws up into a bunch of smaller draws?  How
>> can I check for JUST a mouse_move event without blocking and waiting for
>> an event, ANY event?  I suspect that is possible, it's just not clear
>> from the manpages.  Could anyone show me such a snippet?
>> 
>
>   The XCheckWindowEvent function and friends don't block.

True, but I was never able to find a good example invocation snippet that only
reported the mouse events I wanted. (mouse-down1, mouse-move).  Any hints?

Jonathan

-- 
                     Geek House Productions, Ltd.

  Providing Unix & Internet Contracting and Consulting,
  QA Testing, Technical Documentation, Systems Design & Implementation,
  General Programming, E-commerce, Web & Mail Services since 1998

Phone:   604-435-1205
Email:   [EMAIL PROTECTED]
Webpage: http://reactor-core.org
Address: 2459 E 41st Ave, Vancouver, BC  V5R2W2

Attachment: msg06980/pgp00000.pgp
Description: PGP signature

Reply via email to