e_comp_wl: send a pointer_leave event to focused client if mouse_down events is not... 29/61229/1 accepted/tizen/ivi/20160307.105156 accepted/tizen/mobile/20160307.105100 accepted/tizen/tv/20160307.105118 accepted/tizen/wearable/20160307.105138 submit/tizen/20160307.023110
authorDuna Oh <duna.oh@samsung.com>
Mon, 7 Mar 2016 01:27:18 +0000 (10:27 +0900)
committerDuna Oh <duna.oh@samsung.com>
Mon, 7 Mar 2016 01:29:58 +0000 (10:29 +0900)
commit8cbc611f383d3144751f5506dafdc4003dd61167
treeea2eba5e228abc15094f6a2a818dc63c83f801ea
parent06055135a97ddd30b47a33e668fddce121a39aff
e_comp_wl: send a pointer_leave event to focused client if mouse_down events is not occurred on it

Once the application gets touch_down, ecore_wl sends a pointer_enter event to the application.
So it steals all events even if events is out of the application.
in this case, e_comp_wl need to send a pointer_leave event to focused client.
Changing this code to fix wierd behaviors of cursor when I touch IME(input panel) after touching entry.
Test Plan:
1. launch entry demo.
2. touch entry point. The cursor image is changed to 'xterm'.
3. touch IME. the demo app gets MOUSE_OUT and The cursor image is changed to 'left_ptr'.
   And the demo also gets MOUSE_IN and the cursor become 'xterm' again.

Signed-off-by: Duna Oh <duna.oh@samsung.com>
Change-Id: I46779a7f9f84c40de35083f96a19906dc4768aae
src/bin/e_comp_wl.c