winex11: Add grab for XInput2 ButtonRelease event

André Hentschel nerv at dawncrow.de
Sun Feb 5 07:52:42 CST 2012


possible fix for http://bugs.winehq.org/show_bug.cgi?id=29158

---
 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 332b71d..b502a2f 100644
--- a/dlls/winex11.drv/mouse.c
+++ b/dlls/winex11.drv/mouse.c
@@ -309,6 +309,7 @@ static void enable_xinput2(void)
     memset( mask_bits, 0, sizeof(mask_bits) );
     XISetMask( mask_bits, XI_RawMotion );
     XISetMask( mask_bits, XI_ButtonPress );
+    XISetMask( mask_bits, XI_ButtonRelease );
 
     for (i = 0; i < xinput2_device_count; ++i)
     {
-- 

Best Regards, André Hentschel
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: Nachrichtenteil als Anhang
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20120205/1c047b1d/attachment.ksh>


More information about the wine-patches mailing list