From ad6a858aad15048dd4448dba011d4c15de297d7d Mon Sep 17 00:00:00 2001 From: Andy Williams Date: Thu, 21 Sep 2017 12:24:51 +0100 Subject: [PATCH] elm_code: respect event hold for key_down --- src/lib/elementary/elm_code_widget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/elementary/elm_code_widget.c b/src/lib/elementary/elm_code_widget.c index 0128d7a..c6493f4 100644 --- a/src/lib/elementary/elm_code_widget.c +++ b/src/lib/elementary/elm_code_widget.c @@ -1600,7 +1600,7 @@ _elm_code_widget_key_down_cb(void *data, Evas *evas EINA_UNUSED, Evas_Event_Key_Down *ev = event_info; - if (!pd->editable) + if (!pd->editable || (ev->event_flags & EVAS_EVENT_FLAG_ON_HOLD)) return; _elm_code_widget_update_focus_directions(widget); -- 2.7.4