From cc31308c32fc81f63b2b0ca4c62a79bb4d0597e1 Mon Sep 17 00:00:00 2001 From: Alistair Leslie-Hughes Date: Thu, 17 Aug 2023 10:02:51 +1000 Subject: [PATCH] Updated user32-rawinput-mouse patchset --- ...drv-Support-XInput2-events-for-individual-wi.patch | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/patches/user32-rawinput-mouse/0002-winex11.drv-Support-XInput2-events-for-individual-wi.patch b/patches/user32-rawinput-mouse/0002-winex11.drv-Support-XInput2-events-for-individual-wi.patch index 9e778dc8..b0e4aaf7 100644 --- a/patches/user32-rawinput-mouse/0002-winex11.drv-Support-XInput2-events-for-individual-wi.patch +++ b/patches/user32-rawinput-mouse/0002-winex11.drv-Support-XInput2-events-for-individual-wi.patch @@ -1,4 +1,4 @@ -From ca644302ca33da93c0ae13177def7d1f554a0946 Mon Sep 17 00:00:00 2001 +From 02e3cc8520790ddbae90b5b38421aa6218ca2b1e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Bernon?= Date: Thu, 23 Jan 2020 11:00:19 +0100 Subject: [PATCH] winex11.drv: Support XInput2 events for individual windows. @@ -8,10 +8,10 @@ which can bring additional information. --- dlls/winex11.drv/desktop.c | 2 ++ dlls/winex11.drv/event.c | 7 +++++ - dlls/winex11.drv/mouse.c | 59 +++++++++++++++++++++++++++----------- + dlls/winex11.drv/mouse.c | 58 +++++++++++++++++++++++++++----------- dlls/winex11.drv/window.c | 3 ++ dlls/winex11.drv/x11drv.h | 12 +++++++- - 5 files changed, 66 insertions(+), 17 deletions(-) + 5 files changed, 65 insertions(+), 17 deletions(-) diff --git a/dlls/winex11.drv/desktop.c b/dlls/winex11.drv/desktop.c index 687c0cf5a4c..01bd6a1b74a 100644 @@ -45,7 +45,7 @@ index c3c8d9a4070..f6d9041ca65 100644 case MotionNotify: case EnterNotify: diff --git a/dlls/winex11.drv/mouse.c b/dlls/winex11.drv/mouse.c -index 65493326e36..8520e5a30ac 100644 +index a28746b9aef..c8c94733122 100644 --- a/dlls/winex11.drv/mouse.c +++ b/dlls/winex11.drv/mouse.c @@ -280,20 +280,32 @@ void x11drv_xinput_init(void) @@ -176,12 +176,11 @@ index 65493326e36..8520e5a30ac 100644 return FALSE; } clip_rect = *clip; -@@ -452,7 +479,7 @@ void ungrab_clipping_window(void) +@@ -452,7 +479,6 @@ void ungrab_clipping_window(void) if (clipping_cursor) XUngrabPointer( data->display, CurrentTime ); clipping_cursor = FALSE; data->clipping_cursor = FALSE; - disable_xinput2(); -+ x11drv_xinput_disable( data->display, DefaultRootWindow( data->display ), PointerMotionMask ); } /***********************************************************************