discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=f64812122f5af627e42d3f239da75c0b1c8d79bc

commit f64812122f5af627e42d3f239da75c0b1c8d79bc
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Fri Aug 18 15:52:52 2017 -0400

    lock menu eventing during menu idler positioning
    
    ensure moving menus doesn't trigger menu item activation
---
 src/bin/e_menu.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/bin/e_menu.c b/src/bin/e_menu.c
index 41aa4b136..53ca49eab 100644
--- a/src/bin/e_menu.c
+++ b/src/bin/e_menu.c
@@ -1154,8 +1154,9 @@ e_menu_idler_before(void)
                }
              m->prev.x = m->cur.x;
              m->prev.y = m->cur.y;
+             _e_menu_lock = 1;
              evas_object_move(m->comp_object, m->cur.x, m->cur.y);
-
+             _e_menu_lock = 0;
           }
      }
    /* phase 3. show all the menus that want to be shown */

-- 


Reply via email to