From 9556b4f7dbf71aec2f4ebf89ec164ae91d9b43ac Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Mon, 16 May 2011 14:31:05 +0200 Subject: [PATCH] winex11: Don't wait for the foreground window to start clipping in ClipCursor. --- dlls/winex11.drv/mouse.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dlls/winex11.drv/mouse.c b/dlls/winex11.drv/mouse.c index d369f6c284b..b79525a85ff 100644 --- a/dlls/winex11.drv/mouse.c +++ b/dlls/winex11.drv/mouse.c @@ -1277,7 +1277,8 @@ BOOL CDECL X11DRV_ClipCursor( LPCRECT clip ) if (tid && tid != GetCurrentThreadId() && pid == GetCurrentProcessId()) { TRACE( "forwarding clip request to %p\n", foreground ); - if (SendMessageW( foreground, WM_X11DRV_CLIP_CURSOR, 0, 0 )) return TRUE; + SendNotifyMessageW( foreground, WM_X11DRV_CLIP_CURSOR, 0, 0 ); + return TRUE; } else if (grab_clipping_window( clip, FALSE )) return TRUE; }