From 5cfc3c846ee0e7c7479bbbab33586991d325cdbb Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Fri, 4 Aug 2017 16:23:39 -0400 Subject: [PATCH] make menu_show action pop the menu in automatically-calculated direction --- src/bin/e_actions.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bin/e_actions.c b/src/bin/e_actions.c index 50421ddd9..b4a6a1fb1 100644 --- a/src/bin/e_actions.c +++ b/src/bin/e_actions.c @@ -1819,7 +1819,7 @@ ACT_FN_GO(menu_show, ) ecore_evas_pointer_xy_get(e_comp->ee, &x, &y); e_menu_post_deactivate_callback_set(m, _e_actions_cb_menu_end, NULL); e_menu_activate_mouse(m, zone, x, y, 1, 1, - E_MENU_POP_DIRECTION_DOWN, 0); + E_MENU_POP_DIRECTION_AUTO, 0); } } } @@ -1844,7 +1844,7 @@ ACT_FN_GO_MOUSE(menu_show, ) y = ev->canvas.y; e_menu_post_deactivate_callback_set(m, _e_actions_cb_menu_end, NULL); e_menu_activate_mouse(m, zone, x, y, 1, 1, - E_MENU_POP_DIRECTION_DOWN, ev->timestamp); + E_MENU_POP_DIRECTION_AUTO, ev->timestamp); return EINA_TRUE; }