Hi,

At the risk of crying wolf again, I think this patch fixes the disappearing
hardware cursor bug,
and leaves the software cursor code unmolested!

--- ./programs/Xserver/hw/xwin/save_wincursor.c 2005-11-15
12:14:18.000000000 +0000
+++ ./programs/Xserver/hw/xwin/wincursor.c      2005-11-15
12:28:20.000000000 +0000
@@ -41,6 +41,8 @@
 #include <mipointrst.h>
 #include <servermd.h>
 
+extern Bool    g_fSoftwareCursor;
+
 
 #ifndef MIN
 #define MIN(x,y) ((x)<(y)?(x):(y))
@@ -508,7 +507,7 @@
     {
       if (pScreenPriv->cursor.visible)
        {
-         if (!bInhibit)
+         if (!bInhibit && g_fSoftwareCursor)
            ShowCursor (FALSE);
          pScreenPriv->cursor.visible = FALSE;
        }
@@ -531,7 +530,7 @@
 
       if (!pScreenPriv->cursor.visible)
        {
-         if (!bInhibit)
+         if (!bInhibit && g_fSoftwareCursor)
            ShowCursor (TRUE);
          pScreenPriv->cursor.visible = TRUE;
        }

I've had it on test for two days and released it on Xming.


Colin Harrison


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://x.cygwin.com/docs/
FAQ:                   http://x.cygwin.com/docs/faq/

Reply via email to