Re: XForms: xforms internal crash

From: T.C. Zhao (
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" <> :

    --- Trent Piepho <> wrote:
    > # To subscribers of the xforms list from Trent Piepho
    > <> :
    > 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.
    To unsubscribe, send the message "unsubscribe" to or see
    XForms Home Page:
    List Archive:

    This archive was generated by hypermail 2b29 : Sat Oct 14 2000 - 22:31:22 EDT