xf86-input-evdev: Changes to 'master'

Peter Hutterer whot at kemper.freedesktop.org
Sun Aug 17 17:03:59 PDT 2014


 src/evdev.c |   76 ++++++++++++++++++++++++++++++++++++++----------------------
 src/evdev.h |    5 +++
 2 files changed, 53 insertions(+), 28 deletions(-)

New commits:
commit 8ce06c96e469139bb12065d80fe4abb6173e2855
Author: Peter Hutterer <peter.hutterer at who-t.net>
Date:   Tue Aug 5 15:59:17 2014 +1000

    Make the slot-state per slot
    
    The previous approach only had the slot state for the current slot. If we
    changed slots, that means we lost the information if the slot was ever
    initialized. If the ABS_MT_TRACKING_ID was never received, the slot would
    still update and try to send events (which the server refused with a warning).
    
    Avoid this by having a per-slot state and a dirty bit that tells us if the
    current slot updated at all. If we don't get the tracking ID, leave the slot
    empty and refuse any further events from that touch.
    
    This quashes the various "unable to find touch point 0" warnings caused if a
    touchpoint starts before the device is enabled.
    
    Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
    Reviewed-by: Walter Harms <wharms at bfs.de>



More information about the xorg-commit mailing list