提交 c9812282 编写于 作者: D Dmitry Torokhov

Input: don't reset sync flag when ignoring event

Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册