ajwillia-ms pushed a commit to branch master. http://git.enlightenment.org/tools/edi.git/commit/?id=1578481d469a892bf3cc19979dfac164a4d0b9f8
commit 1578481d469a892bf3cc19979dfac164a4d0b9f8 Author: Andy Williams <a...@andywilliams.me> Date: Sun Sep 11 19:17:21 2016 +0100 ui: only use help lookup if control pressed --- src/bin/editor/edi_editor.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/bin/editor/edi_editor.c b/src/bin/editor/edi_editor.c index 70ebba8..7222862 100644 --- a/src/bin/editor/edi_editor.c +++ b/src/bin/editor/edi_editor.c @@ -473,6 +473,7 @@ _mouse_up_cb(void *data EINA_UNUSED, Evas *e EINA_UNUSED, Elm_Code_Widget *widget; Evas_Object *popup; Evas_Event_Mouse_Up *event; + Eina_Bool ctrl; unsigned int row; int col; const char *word; @@ -480,7 +481,8 @@ _mouse_up_cb(void *data EINA_UNUSED, Evas *e EINA_UNUSED, widget = (Elm_Code_Widget *)data; event = (Evas_Event_Mouse_Up *)event_info; - if (event->button != 3) + ctrl = evas_key_modifier_is_set(event->modifiers, "Control"); + if (event->button != 3 || !ctrl) return; elm_code_widget_position_at_coordinates_get(widget, event->canvas.x, event->canvas.y, &row, &col); --