discomfitor pushed a commit to branch master.

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

commit bfca0f908c74954e65bbaa6f87031158ce05e530
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Fri Apr 24 14:58:00 2015 -0400

    ensure evry key events do not get erroneously rejected in grab mode
    
    ref T2030
---
 src/modules/everything/evry.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/modules/everything/evry.c b/src/modules/everything/evry.c
index 670d52b..5ae5074 100644
--- a/src/modules/everything/evry.c
+++ b/src/modules/everything/evry.c
@@ -1910,7 +1910,8 @@ _evry_cb_key_down(void *data, int type EINA_UNUSED, void 
*event)
    Evry_Window *win = data;
    const char *old;
 
-   if (ev->event_window != elm_win_window_id_get(win->ewin))
+   if ((win->grab && (ev->event_window != ecore_evas_window_get(e_comp->ee))) 
&&
+       (ev->event_window != elm_win_window_id_get(win->ewin)))
      return ECORE_CALLBACK_PASS_ON;
 
    if (!strcmp(ev->key, "Escape"))

-- 


Reply via email to