Re: XForms: xforms internal crash

From: Steve Lamont (spl@ncmir.ucsd.edu)
Date: Mon Sep 25 2000 - 15:15:12 EDT

  • Next message: Trent Piepho: "Re: XForms: xforms internal crash"

    # To subscribers of the xforms list from Steve Lamont <spl@ncmir.ucsd.edu> :

    > You need to take the window that appears and move it around a bit to get the
    > crash. Clicking a mouse button repeatedly, or holding down a key, in the
    > window seems to work too. It seems like generating a bunch of events is all
    > that is necessary.

    This is normal and more or less documented behavior, though I agree
    that an application crashing is probably the Wrong Thing.

    Your main loop should look like

            for(;;) {

                FL_OBJECT *obj = fl_do_forms();
                XEvent xevent;

                if ( obj == FL_EVENT )
                    fl_XNextEvent( &xevent );

            }

    Refer to the manual section on "Dealing with Multiple Windows" for
    details.

                                                            spl

    _________________________________________________
    To unsubscribe, send the message "unsubscribe" to
    xforms-request@bob.usuhs.mil or see
    http://bob.usuhs.mil/mailserv/xforms.html
    XForms Home Page: http://world.std.com/~xforms
    List Archive: http://bob.usuhs.mil/mailserv/list-archives/



    This archive was generated by hypermail 2b29 : Mon Sep 25 2000 - 15:26:04 EDT