ecore-wayland: Prevent duplicated mouse up events.
authorJengHyun Kang <jhyuni.kang@samsung.com>
Tue, 28 Jun 2016 13:01:09 +0000 (09:01 -0400)
committerChris Michael <cpmichael@osg.samsung.com>
Tue, 28 Jun 2016 13:01:09 +0000 (09:01 -0400)
commit71fab4932578502c169a05350752bc5f85e47cca
treeee6534f178866ab117757c8e85870cb48d818045
parentd8db7b2637528dbc89605720a371b0677c84ae88
ecore-wayland: Prevent duplicated mouse up events.

Summary:
Prevent duplicated mouse up events generated from input_ungrab.
         If you touch downs and ups about all of fingers,
         that is sufficient condition to call ecore_wl_input_ungrab().
         And then one mouse up event is generated from that function.
         So if you set a callback about ECORE_EVENT_MOUSE_BUTTON_UP,
         you can watch two mouse up events are occurred.

Test Plan: Touch and release. And watch mouse up events.

Reviewers: raster, zmike, devilhorns

Reviewed By: devilhorns

Subscribers: ohduna, input.hacker, cedric, jpeg

Differential Revision: https://phab.enlightenment.org/D4112
src/lib/ecore_wayland/ecore_wl_input.c