if (!conn) return -1;
if (!iface) return -1;
+//PRODUCT_ONLY(30JAN2019): disable gesture on Zoom mode.
+ E_Zone *zone = NULL;
+ E_Desk *desk = NULL;
+ double zoomx = 0.0, zoomy = 0.0;
+ int cx = 0, cy = 0;
+
+ zone = e_zone_current_get();
+ desk = e_desk_current_get(zone);
+
+ e_desk_zoom_get(desk, &zoomx, &zoomy, &cx, &cy);
+ if (zoomx > 1.0 || zoomy > 1.0)
+ {
+ INFO("The screen is zoomed in!");
+ return -1;
+ }
+//
+
eldbus_service_signal_emit(iface, GESTURE_DETECTED_SIGNAL, (int)gi->type, gi->x_beg, gi->y_beg,
gi->x_end, gi->y_end, gi->state, gi->event_time);