discomfitor pushed a commit to branch master.

commit 0b844d36ebaadddc0b0be8f462f4483f5a449d56
Author: Mike Blumenkrantz <[email protected]>
Date:   Thu Apr 25 09:23:14 2013 +0100

    block efm key actions while menu is active
    
    https://phab.enlightenment.org/T12
---
 src/bin/e_fm.c | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/src/bin/e_fm.c b/src/bin/e_fm.c
index 48f5d9f..cd339e1 100644
--- a/src/bin/e_fm.c
+++ b/src/bin/e_fm.c
@@ -7683,13 +7683,11 @@ _e_fm2_cb_icon_thumb_gen(void *data, Evas_Object *obj, 
void *event_info __UNUSED
 static void
 _e_fm2_cb_key_down(void *data, Evas *e __UNUSED__, Evas_Object *obj, void 
*event_info)
 {
-   Evas_Event_Key_Down *ev;
-   E_Fm2_Smart_Data *sd;
+   Evas_Event_Key_Down *ev = event_info;
+   E_Fm2_Smart_Data *sd = data;
    E_Fm2_Icon *ic;
 
-   sd = data;
-   ev = event_info;
-
+   if (e_menu_grab_window_get()) return;
    if (sd->iop_icon) return;
 
    if (evas_key_modifier_is_set(ev->modifiers, "Control"))

-- 

------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr

Reply via email to