Skip to content
Snippets Groups Projects
Commit e1f3803d authored by Alexandre Julliard's avatar Alexandre Julliard
Browse files

Removed the dummy mouse event in SetWindowPos.

parent 66267d06
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment