winex11: Don't wait for the foreground window to start clipping in ClipCursor.
This commit is contained in:
parent
e4038ebab9
commit
9556b4f7db
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue