mirror of
https://github.com/reactos/wine.git
synced 2025-02-08 13:18:12 +00:00
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…
x
Reference in New Issue
Block a user