Re: XForms: xforms internal crash

From: T.C. Zhao (tc_zhao@yahoo.com)
Date: Sat Oct 14 2000 - 22:29:43 EDT

  • Next message: T.C. Zhao: "Re: XForms: xforms internal crash"

    # To subscribers of the xforms list from "T.C. Zhao" <tc_zhao@yahoo.com> :

    --- Trent Piepho <xyzzy@speakeasy.org> wrote:
    > # To subscribers of the xforms list from Trent Piepho
    > <xyzzy@speakeasy.org> :
    >
    > If I were designing xforms at the time FL_EVENT was created, what I
    > would have
    > done is to make FL_EVENT->c_vdata point to the XEvent structure for
    > the event.
    > Then make a function like:
    >
    > XEvent *fl_get_event(FL_OBJECT *ob) { return ob->c_vdata; }
    >
    > Which returns the XEvent associated with the FL_EVENT object in the
    > same way
    > fl_get_button() returns the state of a button object. This way, the
    > object
    > returned by fl_do_forms() and fl_check_forms() can be ignored safely
    > if it an
    > XEvent object, just like all the other objects returned from
    > fl_do_forms().
    > It also means the event wouldn't be put back on the queue just so it
    > can be
    > removed again.

    Yes, that would've been nice indeed. I'll see if there is
    a compatible way to achieve this. BTW, I tried your
    test program with V0.89.5, it did not crash on my
    linux box with fvwm95.

    __________________________________________________
    Do You Yahoo!?
    Yahoo! Messenger - Talk while you surf! It's FREE.
    http://im.yahoo.com/
    _________________________________________________
    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 : Sat Oct 14 2000 - 22:31:22 EDT