Keyboard and Mouse Input delay/pausing using 6.8.99.901

Colin Harrison colin.harrison@virgin.net
Sun Jul 30 13:35:00 GMT 2006


Hi,

More clues...

This patch (hack!) fixes the latency you describe..but leaves a no-keypress
repeat problem, for some users (not as bad a fault!)

--- ./programs/Xserver/os/save_xdmcp.c  2006-07-30 11:56:30.000000000 +0100
+++ ./programs/Xserver/os/xdmcp.c       2006-07-30 13:49:09.000000000 +0100
@@ -721,7 +721,7 @@
                keepaliveDormancy = defaultKeepaliveDormancy;
        }
        if (XFD_ANYSET(&AllClients) && state == XDM_RUN_SESSION)
-           timeOutTime = GetTimeInMillis() +  keepaliveDormancy * 1000;
+           timeOutTime = 1;
     }
     else if (timeOutTime && (int) (GetTimeInMillis() - timeOutTime) >= 0)
     {


Any explanation as to why the XDMCP state machine has gone wrong, with
heavyweight display managers, is welcome.
All my testing was done using XP SP2 fully patched up-to-date.

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/



More information about the Cygwin-xfree mailing list