Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Input: don't reset sync flag when ignoring event

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>

+1 -1
+1 -1
drivers/input/input.c
··· 241 241 break; 242 242 } 243 243 244 - if (type != EV_SYN) 244 + if (disposition != INPUT_IGNORE_EVENT && type != EV_SYN) 245 245 dev->sync = 0; 246 246 247 247 if ((disposition & INPUT_PASS_TO_DEVICE) && dev->event)