From a12a678bc9af8df1a3078f574b0c910e3e6983f8 Mon Sep 17 00:00:00 2001 From: Matthieu Herrb Date: Tue, 27 Jul 2004 06:20:52 +0000 Subject: [PATCH] Fix a bug that caused an entire batch of events to be thrown out when one of an unknown type is encountered. (Ty Sarna, NetBSD). --- hw/xfree86/os-support/bsd/bsd_mouse.c | 1 + 1 file changed, 1 insertion(+) diff --git a/hw/xfree86/os-support/bsd/bsd_mouse.c b/hw/xfree86/os-support/bsd/bsd_mouse.c index 5fad66f44..679f3099a 100644 --- a/hw/xfree86/os-support/bsd/bsd_mouse.c +++ b/hw/xfree86/os-support/bsd/bsd_mouse.c @@ -430,6 +430,7 @@ wsconsReadInput(InputInfoPtr pInfo) default: xf86Msg(X_WARNING, "%s: bad wsmouse event type=%d\n", pInfo->name, event->type); + ++event; continue; }