winex11: Don't wait for the foreground window to start clipping in ClipCursor.

This commit is contained in:
Alexandre Julliard 2011-05-16 14:31:05 +02:00
parent e4038ebab9
commit 9556b4f7db
1 changed files with 2 additions and 1 deletions

View File

@ -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;
}