mirror of
https://github.com/linux-msm/laptops-kernel.git
synced 2026-08-13 14:19:53 -07:00
Input: don't reset sync flag when ignoring event
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
This commit is contained in:
1 parent
15439dd37f
commit
c981228281
1 file changed
+1
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user