Re: XForms: Major key event problem with rc1

From: John Levon (moz@compsoc.man.ac.uk)
Date: Sat Jun 01 2002 - 22:20:29 EDT

  • Next message: spl@ncmir.ucsd.edu: "Re: XForms: Major key event problem with rc1"

    # To subscribers of the xforms list from John Levon <moz@compsoc.man.ac.uk> :

    On Sat, Jun 01, 2002 at 05:00:54PM -0700, spl@ncmir.ucsd.edu wrote:

    > > Our application (lyx) is longer getting any events reported for arrow
    > > key presses. In xev :
    >
    > Can you please provide example code which demonstrates this bug?

    Wouldn't you prefer a fix :)

    forms.c:do_keyboard()

            ...
            if (kbuflen < 0) {
                    ...
            } else if (kbuflen > 0) {
                    ...
            }

    Spot the missing case yet ? :)

    Change it to

            if (kbuflen < 0) {
                    ...
            } else {
                    ...
            }

    And everything's hunky dory.

    > version of the RC, which answers the other bugs reported, sometime
    > later today (1 June 2002 PST).

    Super.

    thanks
    john

    -- 
    "Do you mean to tell me that "The Prince" is not the set textbook for CS1072
    Professional Issues ? What on earth do you learn in that course ?"
    	- David Lester
    _________________________________________________
    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 Jun 01 2002 - 22:23:45 EDT