winex11: Add grab for XInput2 ButtonPress event
William Pettersson
william.pettersson at gmail.com
Sun Jul 10 19:29:26 CDT 2011
Fixes bug #27522 by capturing mouse movement while mouse buttons are
depressed.
---
dlls/winex11.drv/mouse.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dlls/winex11.drv/mouse.c b/dlls/winex11.drv/mouse.c
index 7f62658..980552d 100644
--- a/dlls/winex11.drv/mouse.c
+++ b/dlls/winex11.drv/mouse.c
@@ -305,6 +305,7 @@ static void enable_xinput2(void)
mask.mask_len = sizeof(mask_bits);
memset( mask_bits, 0, sizeof(mask_bits) );
XISetMask( mask_bits, XI_RawMotion );
+ XISetMask( mask_bits, XI_ButtonPress );
for (i = 0; i < count; ++i)
{
--
1.7.3.4
More information about the wine-patches
mailing list