xf86-input-evdev: Changes to 'master'

Peter Hutterer whot at kemper.freedesktop.org
Tue Aug 4 18:49:29 PDT 2009


 src/draglock.c |    4 ++--
 src/emuMB.c    |    6 +++---
 src/emuWheel.c |    7 ++-----
 src/evdev.c    |   33 +++++++++++++++++----------------
 src/evdev.h    |    9 +++++++++
 5 files changed, 33 insertions(+), 26 deletions(-)

New commits:
commit 69d6ff3e01263ce2d52ed18b08f054bf3fdb923c
Author: Oliver McFadden <oliver.mcfadden at nokia.com>
Date:   Sun Aug 2 12:03:04 2009 +0300

    evdev: Use the EvdevPost...Event() functions in the emulation code.
    
    This is similar to commit 1f641d75edba7394201c1c53938215bae696791b.
    
    It provides the same functionality of queuing the (in this case
    emulated) events and waiting until an EV_SYN synchronization event is
    received before posting them to the server.
    
    This preserves the order of events (both real and emulated) and ensures
    that MotionNotify events will always be posted first. It also unifies
    the event posting into a few small functions which improves
    maintainability.
    
    From this point on, you should never use the xf86Post...Event()
    functions in new code, but rather the EvdevPost...Event() versions.
    
    Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>



More information about the xorg-commit mailing list