Carlos Garnacho : winex11: Use XIAllDevices to select for XI_RawMotion.
Module: wine Branch: master Commit: 448433ae034841b47b79af1c652c1a7f45d2895f URL: http://source.winehq.org/git/wine.git/?a=commit;h=448433ae034841b47b79af1c65... Author: Carlos Garnacho <carlosg(a)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(a)gnome.org> Signed-off-by: Henri Verbeet <hverbeet(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)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=448433ae034841b47b79af...
participants (1)
-
Alexandre Julliard