[comp.windows.x] Problem getting MotionNotify events

tot@frend.fi (Teemu Torma) (12/08/89)

I have written a graphic widget that needs occasionally trace movements
of the pointer. Widget contains action procedure to start the tracing and
translation that binds <Btn1Down> to it. The action procedure does
XtAddEventHandler (widget, PointerMotionMask, False, ...).

Problem is that server does not seem to send any MotionNotify events
until mouse button is released, otherwise it works well. But due to
this problem, I can not bind end of the tracing into <Btn1Up>. Using
something like <Btn2Down> works of course.

Could someone enlighten me what I'm doing wrong, or is the problem
somewhere else. I am running MIT X11R3 distribution (with patches 1-10
and Purdue speedups) on Sun 3/60 (SunOS 4.0).
--
Teemu Torma
Front End Oy, Helsinki, Finland
Internet: tot@nyse.frend.fi