Re: XForms: Slower mouse response with version 1.0RC4

From: David Scriven (davidwriter@yahoo.com)
Date: Wed Sep 18 2002 - 14:55:14 EDT

  • Next message: spl@ncmir.ucsd.edu: "Re: XForms: Slower mouse response with version 1.0RC4"

    # To subscribers of the xforms list from David Scriven <davidwriter@yahoo.com> :

    Well it certainly had an effect - inserting that
    line gave

    X Error of failed request: BadWindow (invalid Window
    parameter)
      Major opcode of failed request: 3
    (X_GetWindowAttributes)
      Resource id in failed request: 0x0
      Serial number of failed request: 70
      Current serial number in output stream: 71

    when linking with ver 1.0RC4
    and had no effect on ver 0.89.

    Perhaps I should recompile ver 1.0RC4 unless
    you have a better idea.

    --- spl@ncmir.ucsd.edu wrote:
    > # To subscribers of the xforms list from
    > spl@ncmir.ucsd.edu :
    >
    > > The image is displayed on an GLCanvas using
    > > OpenGL commands such as glDrawPixels
    > > Events are trapped using fl_add_canvas_handler
    > >
    > > I get the impression (no hard data) that there
    > > are fewer events being trapped.
    >
    > Ah. This is a different kettle of fish.
    >
    > The PointerMotionHintMask is set by default for all
    > XForms windows and
    > is inherited by the child Canvas window. As far as
    > I know, this has
    > been this way for a very long time -- way back to
    > 0.82 but I don't
    > really have an easy way of checking. I certainly
    > didn't add it.
    >
    > You can remove this flag from your GLCanvas with
    >
    > fl_remove_selected_xevent( FL_ObjWin(
    > your_gl_canvas ),
    > PointerMotionHintMask );
    >
    > This call is in several of my applications and some
    > of them are five
    > or six years old, so I don't think it's especially
    > new. Why your app
    > performs differently with 0.89 vs 1.0RC4 is not
    > clear to me.
    >
    > Anyhow, give this a try and see if things work
    > better.
    >
    > 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/
    >

    ______________________________________________________________________
    Post your free ad now! http://personals.yahoo.ca
    _________________________________________________
    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 : Wed Sep 18 2002 - 14:56:46 EDT