mirror of
https://github.com/reactos/wine.git
synced 2025-02-08 21:27:31 +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 )
|
BOOL WINAPI GetCursorInfo( PCURSORINFO pci )
|
||||||
{
|
{
|
||||||
|
MESSAGEQUEUE *queue = QUEUE_Current();
|
||||||
|
|
||||||
if (!pci) return 0;
|
if (!pci) return 0;
|
||||||
|
if (queue->cursor_count >= 0) pci->flags = CURSOR_SHOWING;
|
||||||
|
else pci->flags = 0;
|
||||||
GetCursorPos(&pci->ptScreenPos);
|
GetCursorPos(&pci->ptScreenPos);
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user