Skip to content

Commit

Permalink
Input: don't reset sync flag when ignoring event
Browse files Browse the repository at this point in the history
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
  • Loading branch information
Dmitry Torokhov committed Jun 30, 2008
1 parent 15439dd commit c981228
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/input/input.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit c981228

Please sign in to comment.