> I'm using a canvas to draw some graphics. I find that mouse motion events
> occur unevenly. If one drags the mouse smoothly across the window the mouse
> events occur in bursts with pauses at perhaps 2 per second.
>
> Has anyone one else noticed this effect?
Yup. By default the Canvas is created with the event mask
PointerMotionHintMask turned on. This creates this bursty behavior.
To turn it off, set
fl_remove_selected_xevent( FL_ObjWin( your_canvas ),
PointerMotionHintMask );
For more detail, refer to your favorite Xlib manual (mine is the
O'Reilly series, Volume I).
spl
_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuf2.usuhs.mil or see
http://bob.usuf2.usuhs.mil/mailserv/xforms.html
Xforms Home Page: http://bragg.phys.uwm.edu/xforms
List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/xforms-archive/