summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu.herrb@laas.fr>2004-07-27 06:20:52 +0000
committerMatthieu Herrb <matthieu.herrb@laas.fr>2004-07-27 06:20:52 +0000
commita12a678bc9af8df1a3078f574b0c910e3e6983f8 (patch)
treec4fc334f206886202a6abe65357192ba2e9ebb4b
parent19002e47a0dbf55e035b674116a533ec9814edfa (diff)
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).
-rw-r--r--hw/xfree86/os-support/bsd/bsd_mouse.c1
1 files changed, 1 insertions, 0 deletions
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;
}