diff options
author | Kim Kidong <kd0228.kim@samsung.com> | 2020-03-20 04:29:11 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@review.ap-northeast-2.compute.internal> | 2020-03-20 04:29:11 +0000 |
commit | 9ee2ffe75f06707ab677d10ef2626a1185765061 (patch) | |
tree | e1a378898c35779c4e78afec3bbf5388bc74d7e8 | |
parent | 0d319abe5063d6423ce4bddeb151e3fd658e695d (diff) | |
parent | 1d7789e389dea8fcd7c4ae22aa44f25873c62c22 (diff) | |
download | askuser-popup-9ee2ffe75f06707ab677d10ef2626a1185765061.tar.gz askuser-popup-9ee2ffe75f06707ab677d10ef2626a1185765061.tar.bz2 askuser-popup-9ee2ffe75f06707ab677d10ef2626a1185765061.zip |
Merge "Handle hw key event cancel" into tizen
-rw-r--r-- | ui/src/popup.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/src/popup.c b/ui/src/popup.c index debaa4b..fed40e5 100644 --- a/ui/src/popup.c +++ b/ui/src/popup.c @@ -196,6 +196,7 @@ Eina_Bool __hw_key_clicked_cb(void *data, int type, void *event_info) { Ecore_Event_Key *ev = (Ecore_Event_Key*)event_info; ALOGD("HW key clicked. type <%d> pressed key is <%s>", type, ev->key); + if (ev->event_flags & ECORE_EVENT_FLAG_CANCEL) return ECORE_CALLBACK_PASS_ON; if (!strcmp(ev->key, "XF86Home") || !strcmp(ev->key, "XF86Back")) { ui_app_exit(); } |