From e1f3803daaa835392fbedbe9109584b1c234a4f7 Mon Sep 17 00:00:00 2001
From: Alexandre Julliard <julliard@winehq.org>
Date: Fri, 22 Dec 2000 01:31:51 +0000
Subject: [PATCH] Removed the dummy mouse event in SetWindowPos.

---
 windows/winpos.c | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/windows/winpos.c b/windows/winpos.c
index d1ad7582ed8..6a3f231b422 100644
--- a/windows/winpos.c
+++ b/windows/winpos.c
@@ -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) 
-- 
GitLab