From: Prasoon Singh Date: Mon, 4 Jul 2016 10:30:18 +0000 (+0530) Subject: [e-mod-tizen-screen-reader] Emitted mouse move event before emitting mouse down X-Git-Tag: accepted/tizen/common/20160721.175020~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5d718b9b6dbb265fc4cf0949e857d0d352a711f7;p=platform%2Fcore%2Fuifw%2Fe-mod-tizen-screen-reader.git [e-mod-tizen-screen-reader] Emitted mouse move event before emitting mouse down After coming back from quick panel scrolling stops working, as mouse events dont go in. To fix this issue checked the order of events without event filter and duplicated the same. Change-Id: I559d13283fcb359f0f7d229f3f4948d218ccab1a --- diff --git a/src/e_screen_reader_gestures.c b/src/e_screen_reader_gestures.c index 694df56..90004fb 100644 --- a/src/e_screen_reader_gestures.c +++ b/src/e_screen_reader_gestures.c @@ -514,6 +514,7 @@ start_scroll(int x, int y, Cover *cov) cov->flick_gesture.ev_first_down->timestamp = (int)(ecore_time_get() * 1000); cov->flick_gesture.ev_first_down->multi.radius += MAGIC_NUMBER; ecore_event_add(ECORE_EVENT_MOUSE_BUTTON_DOWN, cov->flick_gesture.ev_first_down, NULL, NULL); + _emit_mouse_move_event(ev_down); ev_down->multi.device = 1; ev_down->multi.radius += MAGIC_NUMBER; ecore_event_add(ECORE_EVENT_MOUSE_BUTTON_DOWN, ev_down, NULL, NULL);