> > The fl_register_raw_callback() call should be
> >
> > fl_register_raw_callback(gpGlunk->form, ExposureMask,
> > ^^^^^^^^^^^^
> > (FL_RAW_CALLBACK)do_expose);
>
> I tried this (after I changed the do_expose function as you suggested
> below) and when I tried to run the program I got the Alert! message "In
> RawCallBack [forms.c 2054] Unsupported mask 0x8000". After this my
> program ran normally but the do_expose function was never called for any
> reason.
I think what you're going to have to do is eliminate the
fl_addto_selected_xevent() call and set the fl_register_raw_callback()
mask to FL_ALL_EVENT. Then filter in your callback function with
if ( ( ( XEvent *) xevent )->type == Expose )
do_your_expose_thing();
I don't think you can select Expose events any other way in raw
callbacks. It's been a while since I fiddled with them. Sorry if I
led you astray but I think I may have suggested this tack earlier and
then forgot about it.
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/