You've already forked wine-staging
mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2025-09-12 18:50:20 -07:00
Rebase against e646263a6f048156d5cb9c63b094cd9c80d5bfb6.
This commit is contained in:
@@ -1,18 +1,18 @@
|
||||
From 7a0030874b52ffdb0324b8f114190e909ee572cd Mon Sep 17 00:00:00 2001
|
||||
From 9ff19d91c8b7d679795f154ceb6b6cbcacaa71a4 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?R=C3=A9mi=20Bernon?= <rbernon@codeweavers.com>
|
||||
Date: Fri, 8 Mar 2024 11:08:53 +0100
|
||||
Subject: [PATCH 2/7] winex11: Clear the MOUSEEVENTF_MOVE flag when
|
||||
accumulating motion.
|
||||
Subject: [PATCH] winex11: Clear the MOUSEEVENTF_MOVE flag when accumulating
|
||||
motion.
|
||||
|
||||
---
|
||||
dlls/winex11.drv/mouse.c | 23 +++++++++++------------
|
||||
1 file changed, 11 insertions(+), 12 deletions(-)
|
||||
|
||||
diff --git a/dlls/winex11.drv/mouse.c b/dlls/winex11.drv/mouse.c
|
||||
index 7293480b635..45619d4970d 100644
|
||||
index 6107b1679be..21fb38b3186 100644
|
||||
--- a/dlls/winex11.drv/mouse.c
|
||||
+++ b/dlls/winex11.drv/mouse.c
|
||||
@@ -1703,19 +1703,17 @@ static BOOL map_raw_event_coords( XIRawEvent *event, INPUT *input )
|
||||
@@ -1699,19 +1699,17 @@ static BOOL map_raw_event_coords( XIRawEvent *event, INPUT *input )
|
||||
values++;
|
||||
}
|
||||
|
||||
@@ -20,7 +20,7 @@ index 7293480b635..45619d4970d 100644
|
||||
- input->mi.dy = round( y->value );
|
||||
-
|
||||
- TRACE( "event %f,%f value %f,%f input %d,%d\n", x_value, y_value, x->value, y->value,
|
||||
- (int)input->mi.dx, (int)input->mi.dy );
|
||||
- input->mi.dx, input->mi.dy );
|
||||
-
|
||||
- x->value -= input->mi.dx;
|
||||
- y->value -= input->mi.dy;
|
||||
@@ -36,13 +36,13 @@ index 7293480b635..45619d4970d 100644
|
||||
+ else
|
||||
+ {
|
||||
+ TRACE( "event %f,%f value %f,%f, input %d,%d\n", x_value, y_value, x->value, y->value,
|
||||
+ (int)input->mi.dx, (int)input->mi.dy );
|
||||
+ input->mi.dx, input->mi.dy );
|
||||
+ x->value -= input->mi.dx;
|
||||
+ y->value -= input->mi.dy;
|
||||
}
|
||||
|
||||
return TRUE;
|
||||
@@ -1743,6 +1741,7 @@ static BOOL X11DRV_RawMotion( XGenericEventCookie *xev )
|
||||
@@ -1739,6 +1737,7 @@ static BOOL X11DRV_RawMotion( XGenericEventCookie *xev )
|
||||
input.mi.dx = 0;
|
||||
input.mi.dy = 0;
|
||||
if (!map_raw_event_coords( event, &input )) return FALSE;
|
||||
@@ -51,5 +51,5 @@ index 7293480b635..45619d4970d 100644
|
||||
NtUserSendHardwareInput( 0, 0, &input, 0 );
|
||||
return TRUE;
|
||||
--
|
||||
2.43.0
|
||||
2.47.2
|
||||
|
||||
|
@@ -1 +1 @@
|
||||
f7503d0a996ae1243dd6c87b39a9143624a80465
|
||||
e646263a6f048156d5cb9c63b094cd9c80d5bfb6
|
||||
|
Reference in New Issue
Block a user