summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/util/timeout_handler.c6
-rw-r--r--src/view/viewer.c4
2 files changed, 5 insertions, 5 deletions
diff --git a/src/util/timeout_handler.c b/src/util/timeout_handler.c
index 148c41e..08811bb 100644
--- a/src/util/timeout_handler.c
+++ b/src/util/timeout_handler.c
@@ -78,8 +78,8 @@ static Eina_Bool _event_occured(void *data, int type, void *event)
return ECORE_CALLBACK_PASS_ON;
/* Don't handle Volume and Channel keys */
- if (type == ECORE_EVENT_KEY_UP) {
- Evas_Event_Key_Up *ev;
+ if (type == ECORE_EVENT_KEY_DOWN) {
+ Evas_Event_Key_Down *ev;
if (!event)
return ECORE_CALLBACK_PASS_ON;
@@ -127,7 +127,7 @@ struct timeout_handler *timeout_handler_init(double timeout,
Ecore_Event_Handler *ev;
int i;
int event_type[] = {
- ECORE_EVENT_KEY_UP,
+ ECORE_EVENT_KEY_DOWN,
ECORE_EVENT_MOUSE_BUTTON_DOWN,
ECORE_EVENT_MOUSE_BUTTON_UP,
ECORE_EVENT_MOUSE_MOVE,
diff --git a/src/view/viewer.c b/src/view/viewer.c
index 56c6961..3c812a2 100644
--- a/src/view/viewer.c
+++ b/src/view/viewer.c
@@ -666,8 +666,8 @@ static Eina_Bool _event_cb(void *data, int type, void *ei)
priv = data;
- if (type == ECORE_EVENT_KEY_UP) {
- Evas_Event_Key_Up *ev;
+ if (type == ECORE_EVENT_KEY_DOWN) {
+ Evas_Event_Key_Down *ev;
if (!ei)
return ECORE_CALLBACK_PASS_ON;