Update virtual window accessibilty scroll event.
authorSung-jae Park <nicesj.park@samsung.com>
Wed, 11 Sep 2013 05:35:06 +0000 (14:35 +0900)
committerSung-jae Park <nicesj.park@samsung.com>
Wed, 11 Sep 2013 05:35:06 +0000 (14:35 +0900)
Change-Id: I23872a8a20ac4289af5213c495126f5e7ddcb908

src/virtual_window.c

index 39c47ad..898c80d 100644 (file)
@@ -148,7 +148,7 @@ static int event_handler_cb(struct livebox_buffer *handler, enum buffer_event ev
                action_type = ELM_ACCESS_ACTION_SCROLL;
                action_info.x = ix;
                action_info.y = iy;
-               action_info.mouse_type = 0;
+               action_info.mouse_type = 2;
                ret = elm_access_action(parent_elm, action_type, &action_info);
                ret = (ret == EINA_FALSE) ? LB_ACCESS_STATUS_ERROR : LB_ACCESS_STATUS_DONE;
                break;
@@ -157,6 +157,7 @@ static int event_handler_cb(struct livebox_buffer *handler, enum buffer_event ev
                        ret = LB_ACCESS_STATUS_ERROR;
                        break;
                }
+               action_type = ELM_ACCESS_ACTION_SCROLL;
                action_info.x = ix;
                action_info.y = iy;
                action_info.mouse_type = 1;
@@ -168,7 +169,10 @@ static int event_handler_cb(struct livebox_buffer *handler, enum buffer_event ev
                        ret = LB_ACCESS_STATUS_ERROR;
                        break;
                }
-               action_info.mouse_type = 2;
+               action_type = ELM_ACCESS_ACTION_SCROLL;
+               action_info.x = ix;
+               action_info.y = iy;
+               action_info.mouse_type = 0;
                ret = elm_access_action(parent_elm, action_type, &action_info);
                ret = (ret == EINA_FALSE) ? LB_ACCESS_STATUS_ERROR : LB_ACCESS_STATUS_DONE;
                break;