[e-mod-tizen-screen-reader] Emitted mouse move event before emitting mouse down 48/78148/3
authorPrasoon Singh <prasoon.16@samsung.com>
Mon, 4 Jul 2016 10:30:18 +0000 (16:00 +0530)
committerPrasoon Singh <prasoon.16@samsung.com>
Mon, 4 Jul 2016 10:39:24 +0000 (16:09 +0530)
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

src/e_screen_reader_gestures.c

index 694df56..90004fb 100644 (file)
@@ -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);