Re: XForms: more double buffering strangeness

Dr. T.C. Zhao (zhao@bragg.phys.uwm.edu)
Thu, 10 Jul 1997 23:53:11 -0500

To subscribers of the xforms list from "Dr. T.C. Zhao" <zhao@bragg.phys.uwm.edu> :

list from spl@szechuan.ucsd.edu (Steve Lamont) :

>As part of the updating of the Free object, I find it necessary for the
>Free object's handler to update other objects in the form.

>This works as expected except in form double buffer mode. In double
>buffer mode, as invoked by the -double command line flag, the form
>hangs and blurps
> In PutBackEvent [events.c 318] Q overflow
> PutBackEvent Event(6,w=0x380001c s=1092) MotionNotify Mode Normal

In general, drawing other objects while inside anotehr object's
FL_DRAW handler is kind of iffy in double mode. Prior
to issuing FL_DRAW, the backbufer is switched on. Now if
while handling this FL_DRAW, you issue commands to draw
other objects, either via fl_redraw_object() or by
fl_set_xxx that results in a redraw of another object,
another FL_DRAW for that object will be issued that
can potentially screw up the window/clipping setting
of the first FL_DRAW. In your case, I don't quite understand
why it is MotionEvent that causes trouble. I will look into
it.
_________________________________________________
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/