Set the flag in GetCursorInfo.
This commit is contained in:
parent
027034e221
commit
4f03101d8b
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue