discomfitor pushed a commit to branch enlightenment-0.19.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=64add235438d3f673f7aeb97d97aa791b77f61b2

commit 64add235438d3f673f7aeb97d97aa791b77f61b2
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Tue Jul 21 14:21:07 2015 -0400

    always stop passing key events on once they reach the lokker callback
---
 src/modules/lokker/lokker.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/modules/lokker/lokker.c b/src/modules/lokker/lokker.c
index 15c6e14..ccde701 100644
--- a/src/modules/lokker/lokker.c
+++ b/src/modules/lokker/lokker.c
@@ -683,7 +683,7 @@ _lokker_cb_key_down(void *data EINA_UNUSED, int type 
EINA_UNUSED, void *event)
         if (edd->selected)
           {
              _lokker_unselect();
-             return ECORE_CALLBACK_RENEW;
+             return ECORE_CALLBACK_DONE;
           }
      }
    else if (!strcmp(ev->key, "KP_Enter"))
@@ -696,7 +696,7 @@ _lokker_cb_key_down(void *data EINA_UNUSED, int type 
EINA_UNUSED, void *event)
           {
              _lokker_null();
              _lokker_unselect();
-             return ECORE_CALLBACK_RENEW;
+             return ECORE_CALLBACK_DONE;
           }
         _lokker_backspace();
      }
@@ -706,7 +706,7 @@ _lokker_cb_key_down(void *data EINA_UNUSED, int type 
EINA_UNUSED, void *event)
           {
              _lokker_null();
              _lokker_unselect();
-             return ECORE_CALLBACK_RENEW;
+             return ECORE_CALLBACK_DONE;
           }
         _lokker_delete();
      }
@@ -728,7 +728,7 @@ _lokker_cb_key_down(void *data EINA_UNUSED, int type 
EINA_UNUSED, void *event)
 
                   for (c = ev->compose; c[0]; c++)
                     {
-                       if (!isdigit(c[0])) return ECORE_CALLBACK_RENEW;
+                       if (!isdigit(c[0])) return ECORE_CALLBACK_DONE;
                     }
                }
              if (edd->selected)
@@ -744,7 +744,7 @@ _lokker_cb_key_down(void *data EINA_UNUSED, int type 
EINA_UNUSED, void *event)
           }
      }
 
-   return ECORE_CALLBACK_PASS_ON;
+   return ECORE_CALLBACK_DONE;
 }
 
 EINTERN Eina_Bool

-- 


Reply via email to