From: James Tabor Date: Tue, 21 Oct 2014 03:13:21 +0000 (+0000) Subject: [User32] X-Git-Tag: backups/tcpip_revolution@71025~379 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=64057f44f94dafc8a77bb29439c1dc6cd5d9ed0f [User32] - Remove code that breaks wine release 1.7.29 user32 input tests. Code was there since r2505. - So due to this commit, over compensating hacks can break. svn path=/trunk/; revision=64860 --- diff --git a/reactos/win32ss/user/user32/windows/defwnd.c b/reactos/win32ss/user/user32/windows/defwnd.c index 5b90e29ff6a..ee3cd806c62 100644 --- a/reactos/win32ss/user/user32/windows/defwnd.c +++ b/reactos/win32ss/user/user32/windows/defwnd.c @@ -622,10 +622,7 @@ User32DefWindowProc(HWND hWnd, case WM_RBUTTONUP: { POINT Pt; - if (hWnd == GetCapture()) - { - ReleaseCapture(); - } + Pt.x = GET_X_LPARAM(lParam); Pt.y = GET_Y_LPARAM(lParam); ClientToScreen(hWnd, &Pt);