don't block keybind activation while grabs are active

This commit is contained in:
Mike Blumenkrantz 2015-07-21 15:33:50 -04:00
parent b51e5fa0b2
commit a951b88305
1 changed files with 2 additions and 2 deletions

View File

@ -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);