Commit 73d68c5a authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

winex11: Handle a NULL cursor clipping rect the same as a fullscreen rect.

We want to avoid ungrabbing the clipping window if "fullscreen clipping" is enabled.
parent 47c54c4a
......@@ -1265,11 +1265,7 @@ BOOL CDECL X11DRV_GetCursorPos(LPPOINT pos)
*/
BOOL CDECL X11DRV_ClipCursor( LPCRECT clip )
{
if (!clip)
{
ungrab_clipping_window();
return TRUE;
}
if (!clip) clip = &virtual_screen_rect;
if (GetWindowThreadProcessId( GetDesktopWindow(), NULL ) == GetCurrentThreadId())
return TRUE; /* don't clip in the desktop process */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment