summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPrasoon Singh <prasoonsingh16@gmail.com>2019-03-21 10:07:43 +0100
committerXavi Artigas <xavierartigas@yahoo.es>2019-03-21 10:08:07 +0100
commite0511c995fa72a395b2dc45ad8ce3c40329a4029 (patch)
tree0093e9db544a0e6e56f7c145fa970a616afc3029
parent5930c5f86ed5bee870d1fab8e501d4dab20ba2f6 (diff)
elm_gesture_layer: Use flag returned by gesture callbacks
Summary: Instead of flag returned by gesture callbacks, always EVAS_EVENT_FLAG_NONE flag was being used. Test Plan: As event flag was not being appropriately updated, in some cases expected behaviour was not seen. Reviewers: shilpasingh, cedric, Hermet, segfaultxavi Reviewed By: shilpasingh, segfaultxavi Subscribers: segfaultxavi, #reviewers, rajeev.jnnce, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8421
-rw-r--r--src/lib/elementary/elm_gesture_layer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/elementary/elm_gesture_layer.c b/src/lib/elementary/elm_gesture_layer.c
index ba5ea9cc99..667a2716a0 100644
--- a/src/lib/elementary/elm_gesture_layer.c
+++ b/src/lib/elementary/elm_gesture_layer.c
@@ -619,7 +619,7 @@ _state_report(Gesture_Info *gesture,
619 flags |= cb_info->cb(cb_info->user_data, info); 619 flags |= cb_info->cb(cb_info->user_data, info);
620 } 620 }
621 621
622 return EVAS_EVENT_FLAG_NONE; 622 return flags;
623} 623}
624 624
625/** 625/**