xf86-input-evdev: Changes to 'evdev-2.0-branch'

Peter Hutterer whot at kemper.freedesktop.org
Wed Oct 1 19:48:05 PDT 2008


 configure.ac |    2 +-
 src/evdev.c  |    2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)

New commits:
commit 91e30bb07cadb41c99b0515d8ecb49f7b045e90c
Author: Peter Hutterer <peter.hutterer at redhat.com>
Date:   Thu Oct 2 12:05:14 2008 +0930

    evdev 2.0.6

commit 36d9b9f166a700d47322961d1768a6b8d6d5545c
Author: Peter Hutterer <peter.hutterer at redhat.com>
Date:   Thu Oct 2 10:56:04 2008 +0930

    Close fd on DEVICE_OFF. (LP #276887)
    
    Leaving the fd open means we still get keyboard events after VT switching
    away. Coming back, some of these events are replayed on the application that
    has the current focus.
    
    Reproduceable:
    1. open terminal, focus.
    2. VT switch away
    3. type something, preferably a password
    4. VT switch back, trigger a mouse event
    5. Observe the X server guessing your password.
    
    Closing the fd on DEVICE_OFF fixes this. Reopen is handled by the reopen
    code introduced with
    
        commit 9930477cbeb4acfd070ae70894d13ffabfc347b8
        Author: Peter Hutterer <peter.hutterer at redhat.com>
        Date:   Tue Aug 26 14:33:40 2008 +0930
    
            Attempt to re-open devices on read errors.
    
    Launchpad Bug 276887
    <https://bugs.edge.launchpad.net/ubuntu/+source/xorg-server/+bug/276887>
    (cherry picked from commit ccd48d2f50231e2837e0984833641ac79f327ba4)



More information about the xorg-commit mailing list