discomfitor pushed a commit to branch enlightenment-0.19.

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

commit d6baf3c5cec0979075f026ba36560a3e5275cec2
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Tue Aug 18 18:20:29 2015 -0400

    use better keybind activation logic
    
    fixes a case where keybinds would not activate if no windows were
    focused
---
 src/bin/e_manager.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/src/bin/e_manager.c b/src/bin/e_manager.c
index d657019..87f9cc8 100644
--- a/src/bin/e_manager.c
+++ b/src/bin/e_manager.c
@@ -29,9 +29,7 @@ _e_manager_cb_key_down(void *data, int ev_type EINA_UNUSED, 
Ecore_Event_Key *ev)
          * *block actions when event (grab) window isn't comp window
          * *other cases?
          */
-        if (!ec) return ECORE_CALLBACK_RENEW;
-        if ((ec->border_menu) || (ev->event_window != man->comp->ee_win))
-          return ECORE_CALLBACK_PASS_ON;
+        if ((!ec) || (ev->event_window != e_comp_get(NULL)->ee_win)) return 
ECORE_CALLBACK_RENEW;
      }
    if (ev->root_window != man->root) man = 
e_manager_find_by_root(ev->root_window);
    if (!man) man = eina_list_data_get(managers);

-- 


Reply via email to