Carlos Garnacho : winex11: Use XIAllDevices to select for XI_RawMotion.

Alexandre Julliard julliard at winehq.org
Thu Feb 9 15:54:26 CST 2017


Module: wine
Branch: master
Commit: 448433ae034841b47b79af1c652c1a7f45d2895f
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=448433ae034841b47b79af1c652c1a7f45d2895f

Author: Carlos Garnacho <carlosg at gnome.org>
Date:   Wed Feb  8 01:50:31 2017 +0100

winex11: Use XIAllDevices to select for XI_RawMotion.

Instead of selecting for XI2 events for every slave device individually,
do it for XIAllDevices, and store the current device's relative X/Y
valuators so they can be quickly looked up in the XI_RawMotion events
received.

Signed-off-by: Carlos Garnacho <carlosg at gnome.org>
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/winex11.drv/mouse.c  | 185 +++++++++++++++++++++++++++++++---------------
 dlls/winex11.drv/x11drv.h |  10 +++
 2 files changed, 137 insertions(+), 58 deletions(-)

Diff:   http://source.winehq.org/git/wine.git/?a=commitdiff;h=448433ae034841b47b79af1c652c1a7f45d2895f



More information about the wine-cvs mailing list