GetCursorInfo updated

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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."
--- ../../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;
 }

[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux