From a951b883059550648958cc007c9efbbc065cb804 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Tue, 21 Jul 2015 15:33:50 -0400 Subject: [PATCH] don't block keybind activation while grabs are active --- src/bin/e_comp_canvas.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bin/e_comp_canvas.c b/src/bin/e_comp_canvas.c index 66b9b1b..367e102 100644 --- a/src/bin/e_comp_canvas.c +++ b/src/bin/e_comp_canvas.c @@ -94,7 +94,7 @@ _e_comp_canvas_cb_mouse_wheel(void *d EINA_UNUSED, Evas *e EINA_UNUSED, Evas_Obj static Eina_Bool _e_comp_cb_key_down(void *data EINA_UNUSED, int ev_type EINA_UNUSED, Ecore_Event_Key *ev) { - if (e_menu_grab_window_get() || e_comp->input_key_grabs) + if (e_menu_grab_window_get()) { #ifdef HAVE_WAYLAND e_comp_wl_key_down(ev); @@ -123,7 +123,7 @@ _e_comp_cb_key_down(void *data EINA_UNUSED, int ev_type EINA_UNUSED, Ecore_Event static Eina_Bool _e_comp_cb_key_up(void *data EINA_UNUSED, int ev_type EINA_UNUSED, Ecore_Event_Key *ev) { - if (e_menu_grab_window_get() || e_comp->input_key_grabs) + if (e_menu_grab_window_get()) { #ifdef HAVE_WAYLAND e_comp_wl_key_up(ev); -- 2.7.4