ChangeSet ID: 19015 CVSROOT: /opt/cvs-commit Module name: wine Changes by: julliard@wine.codeweavers.com 2005/07/19 14:14:33 Modified files: dlls/user : message.c Log message: Save the scope window for mouse events before overwriting it. Patch: http://cvs.winehq.org/patch.py?id=19015 Old revision New revision Changes Path 1.85 1.86 +1 -1 wine/dlls/user/message.c Index: wine/dlls/user/message.c diff -u -p wine/dlls/user/message.c:1.85 wine/dlls/user/message.c:1.86 --- wine/dlls/user/message.c:1.85 Sat May 18 18:13:56 2013 +++ wine/dlls/user/message.c Sat May 18 18:13:56 2013 @@ -1646,6 +1646,7 @@ static BOOL process_mouse_message( MSG * GUITHREADINFO info; MOUSEHOOKSTRUCT hook; BOOL eatMsg; + HWND hWndScope = msg->hwnd; /* find the window to dispatch this mouse message to */ @@ -1653,7 +1654,6 @@ static BOOL process_mouse_message( MSG * GetGUIThreadInfo( GetCurrentThreadId(), &info ); if (!(msg->hwnd = info.hwndCapture)) { - HWND hWndScope = msg->hwnd; /* If no capture HWND, find window which contains the mouse position. * Also find the position of the cursor hot spot (hittest) */ if (!IsWindow(hWndScope)) hWndScope = 0;