From: Ryuan Choi Date: Wed, 25 Aug 2010 04:29:19 +0000 (+0900) Subject: [elm_webview]clear event_feed2 X-Git-Tag: beat-winset-test_0.1.1-40~16 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e08eb674a771944ebc2ff1af4ba90cabda623459;p=framework%2Fuifw%2Felementary.git [elm_webview]clear event_feed2 --- diff --git a/src/lib/els_webview.c b/src/lib/els_webview.c index ba7d6cd..c5c973b 100644 --- a/src/lib/els_webview.c +++ b/src/lib/els_webview.c @@ -1411,6 +1411,7 @@ _smart_cb_mouse_down(void* data, Evas_Object* webview, void* ev) DBG("%s\n", __func__); Smart_Data* sd = (Smart_Data *)data; if (!sd) return; + if (sd->events_feed == EINA_TRUE) return; //Evas_Point* point = (Evas_Point*)ev; if (sd->use_text_selection == EINA_TRUE && sd->text_selection_on == EINA_TRUE) return; @@ -1447,6 +1448,7 @@ _smart_cb_mouse_tap(void* data, Evas_Object* webview, void* ev) DBG("%s\n", __func__); Smart_Data* sd = (Smart_Data *)data; if (!sd) return; + if (sd->events_feed == EINA_TRUE) return; Evas_Point* point = (Evas_Point*)ev; DBG(" argument : (%d, %d)\n", point->x, point->y); @@ -1559,6 +1561,8 @@ _smart_cb_pan_start(void* data, Evas_Object* webview, void* ev) if (!sd) return; Evas_Point* point = (Evas_Point*)ev; + if (sd->events_feed == EINA_TRUE) return; + sd->pan_s = *point; sd->on_panning = EINA_TRUE; @@ -1738,6 +1742,8 @@ _smart_cb_pan_stop(void* data, Evas_Object* webview, void* ev) DBG("%s\n", __func__); Smart_Data* sd = (Smart_Data *)data; if (!sd) return; + if (sd->events_feed == EINA_TRUE) return; + Evas_Point* point = (Evas_Point*)ev; sd->on_panning = EINA_FALSE; @@ -1793,6 +1799,8 @@ _smart_cb_select_closest_word(void* data, Evas_Object* webview, void* ev) DBG("%s\n", __func__); Smart_Data* sd = (Smart_Data *)data; if (!sd) return; + if (sd->events_feed == EINA_TRUE) return; + Evas_Point* point = (Evas_Point*)ev; if (sd->use_text_selection == EINA_FALSE) return;