hardware_Trackpad: fix pending aggregated button wheel events
This CL fixed a bug of X event parsing. All pending button wheel
events that have been aggregated should be reported when receiving
any other non-button-wheel events.
BUG=chromium-os:14060
TEST=Run trackpad autotest program against click-2fscroll_1fclick.*
gesture files, the test should execute normally.
Change-Id: Ic17357c2ad8192e3d791e1e4f4255a512e86018e
Reviewed-on: http://gerrit.chromium.org/gerrit/7424
Reviewed-by: Joseph Shyh-In Hwang <josephsih@chromium.org>
Tested-by: Joseph Shyh-In Hwang <josephsih@chromium.org>
1 file changed