From 581af79e42a1cae914b53256ddebcfe2fe773eec Mon Sep 17 00:00:00 2001 From: Joone Hur Date: Thu, 19 Sep 2013 13:44:56 -0700 Subject: [PATCH] Disable the intelligent zoom by multi-touch This feature is not required for webapps and desktop browsing. Change-Id: I2948830d4f16e2017ddfb3f9c9fa039aa4954dff --- Source/WebKit2/UIProcess/API/efl/ewk_view.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Source/WebKit2/UIProcess/API/efl/ewk_view.cpp b/Source/WebKit2/UIProcess/API/efl/ewk_view.cpp index 82d241e..1204113 100644 --- a/Source/WebKit2/UIProcess/API/efl/ewk_view.cpp +++ b/Source/WebKit2/UIProcess/API/efl/ewk_view.cpp @@ -549,7 +549,12 @@ static Eina_Bool _ewk_view_smart_gesture_end(Ewk_View_Smart_Data* smartData, con impl->gestureClient->endTap(IntPoint(event->position.x, event->position.y)); } else if (event->count == 2) +#if ENABLE(TIZEN_DESKTOP_BROWSING) + // This will disable the intelligent zoom by multi-touch. + impl->gestureClient->endTap(IntPoint(event->position.x, event->position.y)); +#else impl->gestureClient->endDoubleTap(IntPoint(event->position.x, event->position.y)); +#endif break; case EWK_GESTURE_LONG_PRESS: #if ENABLE(TIZEN_DRAG_SUPPORT) -- 2.7.4