summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsangwan.kwon <sangwan.kwon@samsung.com>2016-06-21 13:06:35 +0900
committersangwan kwon <sangwan.kwon@samsung.com>2016-06-20 21:17:20 -0700
commit7a161bad72ef33eee7429fab7143c82c87223b44 (patch)
treecd98d954bf37e1b56cb814bfbe1199a543944db9
parent89aef3563c43ea9474390450b121b70761da361c (diff)
downloadcsr-framework-7a161bad72ef33eee7429fab7143c82c87223b44.tar.gz
csr-framework-7a161bad72ef33eee7429fab7143c82c87223b44.tar.bz2
csr-framework-7a161bad72ef33eee7429fab7143c82c87223b44.zip
Set popup failed return value as negative number
Change-Id: Ia9dcf4d1d28cf821aa225f5c4c122d297716e32c Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
-rw-r--r--src/framework/ui/popup/popup.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/framework/ui/popup/popup.cpp b/src/framework/ui/popup/popup.cpp
index 22ebb6f..85aaa56 100644
--- a/src/framework/ui/popup/popup.cpp
+++ b/src/framework/ui/popup/popup.cpp
@@ -278,8 +278,10 @@ Eina_Bool Popup::keyDownCb(void *, int , void *ev)
DEBUG("Key down event caught.");
auto event = reinterpret_cast<Ecore_Event_Key *>(ev);
- if(event->key == HOME_KEY)
+ if(event->key == HOME_KEY) {
+ response = -1;
elm_exit();
+ }
// Let the event continue to other callbacks.
return ECORE_CALLBACK_PASS_ON;