winex11: Use XIAllDevices to select for XI_RawMotion.
commit448433ae034841b47b79af1c652c1a7f45d2895f
authorCarlos Garnacho <carlosg@gnome.org>
Wed, 8 Feb 2017 00:50:31 +0000 (8 01:50 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Thu, 9 Feb 2017 12:16:29 +0000 (9 13:16 +0100)
tree9b3c4ed241d626593fefa58ad82132d7fa9a84ab
parent7073e27fbd61c7d2eeff8e4e3ccf1dfa0eca581b
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@gnome.org>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
dlls/winex11.drv/mouse.c
dlls/winex11.drv/x11drv.h