forked from enlightenment/enlightenment
block efm key actions while menu is active
https://phab.enlightenment.org/T12
This commit is contained in:
parent
f2fe52a074
commit
0b844d36eb
|
@ -7683,13 +7683,11 @@ _e_fm2_cb_icon_thumb_gen(void *data, Evas_Object *obj, void *event_info __UNUSED
|
||||||
static void
|
static void
|
||||||
_e_fm2_cb_key_down(void *data, Evas *e __UNUSED__, Evas_Object *obj, void *event_info)
|
_e_fm2_cb_key_down(void *data, Evas *e __UNUSED__, Evas_Object *obj, void *event_info)
|
||||||
{
|
{
|
||||||
Evas_Event_Key_Down *ev;
|
Evas_Event_Key_Down *ev = event_info;
|
||||||
E_Fm2_Smart_Data *sd;
|
E_Fm2_Smart_Data *sd = data;
|
||||||
E_Fm2_Icon *ic;
|
E_Fm2_Icon *ic;
|
||||||
|
|
||||||
sd = data;
|
if (e_menu_grab_window_get()) return;
|
||||||
ev = event_info;
|
|
||||||
|
|
||||||
if (sd->iop_icon) return;
|
if (sd->iop_icon) return;
|
||||||
|
|
||||||
if (evas_key_modifier_is_set(ev->modifiers, "Control"))
|
if (evas_key_modifier_is_set(ev->modifiers, "Control"))
|
||||||
|
|
Loading…
Reference in New Issue