Follow GLX in setting ARGB visual nplanes to 24.

Retry current mouse protocol when sync is lost
This commit is contained in:
Keith Packard 2004-05-13 21:25:51 +00:00
parent aa5a878472
commit f52a4d472d

View File

@ -855,6 +855,8 @@ MouseRead (int mousePort, void *closure)
km->invalid += i + km->tested;
km->valid = 0;
km->tested = 0;
if (km->stage == MouseWorking)
km->i_prot--;
km->stage = MouseBroken;
if (km->invalid > MAX_SKIP)
{