Commit 4f03101d authored by Per Nystrom's avatar Per Nystrom Committed by Alexandre Julliard

Set the flag in GetCursorInfo.

parent 027034e2
......@@ -481,7 +481,11 @@ BOOL WINAPI GetCursorPos( POINT *pt )
*/
BOOL WINAPI GetCursorInfo( PCURSORINFO pci )
{
MESSAGEQUEUE *queue = QUEUE_Current();
if (!pci) return 0;
if (queue->cursor_count >= 0) pci->flags = CURSOR_SHOWING;
else pci->flags = 0;
GetCursorPos(&pci->ptScreenPos);
return 1;
}
......
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