summaryrefslogtreecommitdiff
path: root/driver/xf86-input-mouse
diff options
context:
space:
mode:
authorAlexandr Shadchin <shadchin@cvs.openbsd.org>2015-01-25 18:58:16 +0000
committerAlexandr Shadchin <shadchin@cvs.openbsd.org>2015-01-25 18:58:16 +0000
commit3f62d3ca94efa83f8197a368c6858c39a0bb2b9f (patch)
tree4d739d3eb716a292614c54cc9f0e2ff9c35a4618 /driver/xf86-input-mouse
parent53e2ed337afa6d2e85e2eae4db8484e2a8baf2b7 (diff)
Ignore WSCONS_EVENT_SYNC events, suggested matthieu@.
Diffstat (limited to 'driver/xf86-input-mouse')
-rw-r--r--driver/xf86-input-mouse/src/bsd_mouse.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/driver/xf86-input-mouse/src/bsd_mouse.c b/driver/xf86-input-mouse/src/bsd_mouse.c
index fe32d0790..054fecbe4 100644
--- a/driver/xf86-input-mouse/src/bsd_mouse.c
+++ b/driver/xf86-input-mouse/src/bsd_mouse.c
@@ -464,6 +464,11 @@ wsconsReadInput(InputInfoPtr pInfo)
++event;
continue;
#endif
+#ifdef WSCONS_EVENT_SYNC
+ case WSCONS_EVENT_SYNC:
+ ++event;
+ continue;
+#endif
default:
LogMessageVerbSigSafe(X_WARNING, -1,
"%s: bad wsmouse event type=%d\n", pInfo->name,