discomfitor pushed a commit to branch enlightenment-0.21.

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

commit fbbccfc3468b7f35c3240ab5eac05ee1e1c5202b
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 a6c520bf7..0af4686be 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