Set the flag in GetCursorInfo.

This commit is contained in:
Per Nystrom 2002-08-29 23:59:17 +00:00 committed by Alexandre Julliard
parent 027034e221
commit 4f03101d8b
1 changed files with 4 additions and 0 deletions

View File

@ -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;
}