xf86-input-synaptics:master: 1 commit(s)

Peter Hutterer whot at kemper.freedesktop.org
Wed Feb 22 16:58:29 PST 2012


Reporting from xf86-input-synaptics: xf86-input-synaptics driver

Please visit:
    http://cgit.freedesktop.org/xorg/driver/xf86-input-synaptics
Or get your own copy by using:
    git-clone git://anongit.freedesktop.org/xorg/driver/xf86-input-synaptics

Commit against master at dfc3a8ed...:
commit 0a2fd560aa965ceac64c8fb047ca90006408a6f4
Author: Chase Douglas <chase.douglas at canonical.com>
Date:   Tue Feb 21 21:42:16 2012 +0100

    Update touch state when device is off too
    
    If the device is turned off, usually by syndaemon to disable the
    touchpad while the typing, the touch state will not be updated with the
    latest hardware state changes. If a touch begins while the device is
    off and ends while the device is on, then the touch count will be
    decremented without any previous increment. A similar effect will occur
    if the device is on when the touch begins, but off when the touch ends.
    
    If the touch count goes negative, the index into the touch slot mask
    array will be out of bounds. This can corrupt memory and cause random
    crashes.
    
    Signed-off-by: Chase Douglas <chase.douglas at canonical.com>
    Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>

diffstat:
    src/synaptics.c |   74 ++++++++++++++++++++++++++++------------------------
    1 file changed, 41 insertions(+), 33 deletions(-)

gitweb url:
http://cgit.freedesktop.org/xorg/driver/xf86-input-synaptics;a=commit;h=0a2fd560




More information about the xorg-commit mailing list