Re: XForms: how to shut off FL_ENTER, FL_LEAVE, and FL_MOTION events

Steve Lamont (spl@szechuan.ucsd.edu)
Sat, 13 Dec 97 19:03:09 PST

To subscribers of the xforms list from spl@szechuan.ucsd.edu (Steve Lamont) :

> ... This stops then the mouse leaves the xforms window.=
> I figure this has to do with handling the FL_ENTER, FL_LEAVE, FL_MOTION,=
> and other mouse related events. Is there a way to mask the handling of=
> these events out so as to only handle user-selected events, like FL_PUSH=
> and FL_RELEASE? ...

About the only thing that comes to mind is to diddle the Form Window's
event mask with XChangeWindowAttributes(). I'm not sure how badly
this would hose XForm's internal bookkeeping, however. You probably
could get away with just turning off the PointerMotionMask. You might
also look to see if the PointerMotionHintMask is set. If you set it,
then MotionNotify events are sent less frequently.

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/