From: Mike Blumenkrantz Date: Tue, 21 Jul 2015 19:33:50 +0000 (-0400) Subject: don't block keybind activation while grabs are active X-Git-Tag: upstream/0.20.0~527 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a951b883059550648958cc007c9efbbc065cb804;p=platform%2Fupstream%2Fenlightenment.git don't block keybind activation while grabs are active --- 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);