Re: fl_deactivate_all_forms()

J. P. Mellor (jpmellor@ai.mit.edu)
Mon, 23 Dec 1996 16:36:06 -0500

To subscribers of the xforms list from "J. P. Mellor" <jpmellor@ai.mit.edu> :

From: "J. P. Mellor" <jpmellor@ai.mit.edu>
>I'm having a problem completely deactivating several forms. It seems
>that fl_deactivate_all_forms() deactivates everything *EXCEPT* canvas
>handlers.

>From "Dr. T.C. Zhao" <zhao@bragg.phys.uwm.edu>
>This is fixed in V0.84.

I'm still having problems with V0.84. Below is a simple program which
demonstrates the behavior. The left mouse button prints a message to
stdout (press, motion, and release). The button on the form labeled
"deactivate forms" calls fl_deactivate_all_forms(). The middle mouse
button calls fl_activate_all_forms() and the right mouse button exits
the program. After "deactivate forms" is pushed, it cannot be pushed
again until reactivated by the middle mouse button, however the mouse
buttons (canvas handlers) still function. I used "gcc -o mytest -lGLU
-lGL -lXext -lX11 -lm -lforms mytest.c" to compile it on linux 2.0.x.

Thanks,

jp