summaryrefslogtreecommitdiff
path: root/src/lib/evas
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2020-01-27 13:40:02 -0500
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2020-02-05 10:10:37 +0100
commit1320156e031a8d25bf0c803d3ce9c39bc30d84f0 (patch)
tree4f7804c2ae321fa48f8c095f5eb50d42cc362cd7 /src/lib/evas
parentd62e3f97ada3a28592d125bea637219486f05bea (diff)
efl/gesture: conditionally ignore multi-touch unpress events in zoom recognizer
if we have not begun to process a zoom gesture by this point, then we should not be emitting a cancel result Reviewed-by: woochan lee <wc0917.lee@samsung.com> Differential Revision: https://phab.enlightenment.org/D11208
Diffstat (limited to 'src/lib/evas')
-rw-r--r--src/lib/evas/gesture/efl_canvas_gesture_recognizer_zoom.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/evas/gesture/efl_canvas_gesture_recognizer_zoom.c b/src/lib/evas/gesture/efl_canvas_gesture_recognizer_zoom.c
index 4eef014ed0..2857dd30d2 100644
--- a/src/lib/evas/gesture/efl_canvas_gesture_recognizer_zoom.c
+++ b/src/lib/evas/gesture/efl_canvas_gesture_recognizer_zoom.c
@@ -261,7 +261,8 @@ _efl_canvas_gesture_recognizer_zoom_efl_canvas_gesture_recognizer_recognize(Eo *
261 261
262 case EFL_GESTURE_TOUCH_STATE_END: 262 case EFL_GESTURE_TOUCH_STATE_END:
263 { 263 {
264 if (td->touch_down == 0) 264 /* no gesture was started, so no gesture should be detected */
265 if ((td->touch_down == 0) || (!pd->zoom_st.cur.timestamp))
265 { 266 {
266 rd->continues = EINA_FALSE; 267 rd->continues = EINA_FALSE;
267 268