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);