GetCursorInfo updated

Per Nystrom centaur at netmagic.net
Thu Aug 29 02:15:45 CDT 2002


Added code to (hopefully) set the flag indicating if the cursor is 
showing.  Diff is against the input.c version 1.77 from CVS

Per Nystrom


-- 
"When cryptography is outlawed, bayl bhgynjf jvyy unir cevinpl."
-------------- next part --------------
--- ../../updates/input.c.1.77	Wed Aug 28 23:07:40 2002
+++ input.c	Wed Aug 28 23:20:40 2002
@@ -481,7 +481,11 @@
  */
 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;
 }


More information about the wine-patches mailing list