user32: Send a fake mouse movement event after releasing capture.

This commit is contained in:
Mike McCormack 2006-03-27 21:23:17 +09:00 committed by Alexandre Julliard
parent 18d7980fd8
commit 4ce100aa64
1 changed files with 4 additions and 0 deletions

View File

@ -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;
}