Module: wine Branch: master Commit: 9556b4f7dbf71aec2f4ebf89ec164ae91d9b43ac URL: http://source.winehq.org/git/wine.git/?a=commit;h=9556b4f7dbf71aec2f4ebf89ec...
Author: Alexandre Julliard julliard@winehq.org Date: Mon May 16 14:31:05 2011 +0200
winex11: Don't wait for the foreground window to start clipping in ClipCursor.
---
dlls/winex11.drv/mouse.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/dlls/winex11.drv/mouse.c b/dlls/winex11.drv/mouse.c index d369f6c..b79525a 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; }