XForms: Canvas in 0.87

Michael Steliaros (ms@dcs.warwick.ac.uk)
Tue, 12 Aug 1997 14:24:35 +0100

To subscribers of the xforms list from Michael Steliaros <ms@dcs.warwick.ac.uk> :

Hi all,

>I use fl_modify_canvas_prop to add initialisation hooks. The
>init part works as expected. The activate part (which worked fine in
>0.81) appears to be called repeatedly. The cleanup part never gets
>called (same for 0.81; is this a "feature"?).

The activation does get called whenever an Expose event
is received. The purpose of this is to bind the
correct OpenGL context before calling users
Expose handler, but I forgot to put in a check
for OpenGL canvases resulting in multiple calls
to all canvases' activation function. This will be fixed.
cleanup function only gets called when canvas or
form is destroyed, and as far as I can tell, this
works fine.

_________________________________________________
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/