[User32]
authorJames Tabor <james.tabor@reactos.org>
Tue, 21 Oct 2014 03:13:21 +0000 (03:13 +0000)
committerJames Tabor <james.tabor@reactos.org>
Tue, 21 Oct 2014 03:13:21 +0000 (03:13 +0000)
- 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

index 5b90e29..ee3cd80 100644 (file)
@@ -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);