Commit c9812282 authored by Dmitry Torokhov's avatar Dmitry Torokhov

Input: don't reset sync flag when ignoring event

Signed-off-by: default avatarDmitry Torokhov <dtor@mail.ru>
parent 15439dd3
......@@ -241,7 +241,7 @@ static void input_handle_event(struct input_dev *dev,
break;
}
if (type != EV_SYN)
if (disposition != INPUT_IGNORE_EVENT && type != EV_SYN)
dev->sync = 0;
if ((disposition & INPUT_PASS_TO_DEVICE) && dev->event)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment