Commit 47e208e9 authored by Rémi Bernon's avatar Rémi Bernon Committed by Alexandre Julliard

win32u: Asynchronously apply or reset ClipCursor from the hardware message.

parent 5ebb1ed1
......@@ -2552,6 +2552,6 @@ BOOL WINAPI NtUserClipCursor( const RECT *rect )
}
}
SERVER_END_REQ;
if (ret) user_driver->pClipCursor( &new_rect, FALSE );
return ret;
}
......@@ -1766,6 +1766,8 @@ static BOOL process_hardware_message( MSG *msg, UINT hw_id, const struct hardwar
ret = process_keyboard_message( msg, hw_id, hwnd_filter, first, last, remove );
else if (is_mouse_message( msg->message ))
ret = process_mouse_message( msg, hw_id, msg_data->info, hwnd_filter, first, last, remove );
else if (msg->message == WM_WINE_CLIPCURSOR)
process_wine_clipcursor( msg->wParam, msg->lParam );
else
ERR( "unknown message type %x\n", msg->message );
SetThreadDpiAwarenessContext( context );
......
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