diff options
-rw-r--r-- | src/evdev.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/evdev.c b/src/evdev.c index 26ae0a1..ea83afc 100644 --- a/src/evdev.c +++ b/src/evdev.c @@ -1007,6 +1007,7 @@ EvdevOn(DeviceIntPtr device) pEvdev->reopen_timer = TimerSet(NULL, 0, 100, EvdevReopenTimer, pInfo); } else { + xf86FlushInput(pInfo->fd); xf86AddEnabledDevice(pInfo); EvdevMBEmuOn(pInfo); pEvdev->flags |= EVDEV_INITIALIZED; |