From f52a4d472d2463482d865c5006208182c294e670 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Thu, 13 May 2004 21:25:51 +0000 Subject: [PATCH] Follow GLX in setting ARGB visual nplanes to 24. Retry current mouse protocol when sync is lost --- hw/kdrive/linux/mouse.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hw/kdrive/linux/mouse.c b/hw/kdrive/linux/mouse.c index 1faffd27b..4a0c09a3e 100644 --- a/hw/kdrive/linux/mouse.c +++ b/hw/kdrive/linux/mouse.c @@ -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) {