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).
This commit is contained in:
Matthieu Herrb 2004-07-27 06:20:52 +00:00
parent 19002e47a0
commit a12a678bc9

View File

@ -430,6 +430,7 @@ wsconsReadInput(InputInfoPtr pInfo)
default: default:
xf86Msg(X_WARNING, "%s: bad wsmouse event type=%d\n", pInfo->name, xf86Msg(X_WARNING, "%s: bad wsmouse event type=%d\n", pInfo->name,
event->type); event->type);
++event;
continue; continue;
} }