mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 08:49:15 +00:00
Set the flag in GetCursorInfo.
This commit is contained in:
parent
027034e221
commit
4f03101d8b
1 changed files with 4 additions and 0 deletions
|
@ -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 a new issue