widget: Fix propagation of events on hold
authorJean-Philippe Andre <jp.andre@samsung.com>
Wed, 3 Aug 2016 09:08:31 +0000 (18:08 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Wed, 3 Aug 2016 09:08:31 +0000 (18:08 +0900)
commit9b2980e1b1bd1d7fd16c34b8f96b14a782926447
treef1adcf13ddcd17dc1fa408f61c86145c894110b6
parent19eb7b727fbf35620a13fb65b50d3056a484360e
widget: Fix propagation of events on hold

Because of the translation between legacy and eo key
events, the on_hold flag state could sometimes be lost.

Symptom:
 elementary_test -to Focus
 Click on a button inside the scroller
 Up/down would jump to the end of the scroller, rather than
 the next button.

Thanks a lot to Woohyeon for the very good bug report.
src/lib/elementary/elm_widget.c