Removed the dummy mouse event in SetWindowPos.

This commit is contained in:
Alexandre Julliard 2000-12-22 01:31:51 +00:00
parent 66267d067e
commit e1f3803daa
1 changed files with 0 additions and 8 deletions

View File

@ -2942,14 +2942,6 @@ Pos: /* -----------------------------------------------------------------------
if (wndPtr->flags & WIN_NATIVE)
EVENT_Synchronize(); /* Synchronize with the host window system */
if (!GetCapture() && ((wndPtr->dwStyle & WS_VISIBLE) || (flags & SWP_HIDEWINDOW)))
{
/* Simulate a mouse event to set the cursor */
int iWndsLocks = WIN_SuspendWndsLock();
mouse_event( MOUSEEVENTF_MOVE, 0, 0, 0, 0 );
WIN_RestoreWndsLock(iWndsLocks);
}
wndTemp = WIN_GetDesktop();
/* repaint invalidated region (if any)