Mike McCormack : user32:
Send a fake mouse movement event after releasing capture.
Alexandre Julliard
julliard at wine.codeweavers.com
Mon Mar 27 14:50:29 CST 2006
Module: wine
Branch: refs/heads/master
Commit: 4ce100aa64ed7d95c32250aef42c02c1d053f9a0
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=4ce100aa64ed7d95c32250aef42c02c1d053f9a0
Author: Mike McCormack <mike at codeweavers.com>
Date: Mon Mar 27 21:23:17 2006 +0900
user32: Send a fake mouse movement event after releasing capture.
---
dlls/user/input.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/dlls/user/input.c b/dlls/user/input.c
index 63f7ca6..a4312d5 100644
--- a/dlls/user/input.c
+++ b/dlls/user/input.c
@@ -195,6 +195,10 @@ BOOL WINAPI ReleaseCapture(void)
SERVER_END_REQ;
if (previous) SendMessageW( previous, WM_CAPTURECHANGED, 0, 0 );
+
+ /* Somebody may have missed some mouse movements */
+ mouse_event( MOUSEEVENTF_MOVE, 0, 0, 0, 0 );
+
return ret;
}
More information about the wine-cvs
mailing list