From 64057f44f94dafc8a77bb29439c1dc6cd5d9ed0f Mon Sep 17 00:00:00 2001 From: James Tabor Date: Tue, 21 Oct 2014 03:13:21 +0000 Subject: [PATCH] [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 --- reactos/win32ss/user/user32/windows/defwnd.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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);