elm: simulate the clicked event over the object only.
authorSubodh Kumar <s7158.kumar@samsung.com>
Wed, 29 Jul 2015 19:18:17 +0000 (21:18 +0200)
committerCedric BAIL <cedric@osg.samsung.com>
Wed, 29 Jul 2015 19:18:20 +0000 (21:18 +0200)
commit70e5ec00a04f92aa1da3d495de0e3c7869c3287e
tree94d95259bddc8695a532b444f90f65515baf0db9
parentf8d151b0542eb954b5cd4010d7171366e7f47646
elm: simulate the clicked event over the object only.

Summary:
Two different behaviour are observed with clicked event.
1. When scroller is not present:
   a. Mouse down over object,
   b. mouse move outside the object
   c. mouse up, clicked happens
2. When scroller is  present:
   a. Mouse down over object,
   b. mouse move outside the object
   c. mouse up, clicked NOT happens

So clicked callback should happen over the object only i.e when mouse move out of the objcet clicked should be ignored, and behaviour will be consistent

@fix

Test Plan: NA

Reviewers: shilpasingh, cedric

Differential Revision: https://phab.enlightenment.org/D2856

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
src/lib/elm_image.c