summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Williams <andy@andywilliams.me>2016-07-03 20:48:14 +0100
committerAndy Williams <andy@andywilliams.me>2016-07-03 20:48:30 +0100
commit5c8ea3a6f3bb539da3fbc022a8fbd407d4792051 (patch)
treeb3a5976f16647b18b241e5d667b37bee880ccfd0
parent9622146c3d5ae6cc8f7810136f569575c17c4ec0 (diff)
downloadefl-5c8ea3a6f3bb539da3fbc022a8fbd407d4792051.tar.gz
elementary: Grab all key presses in elm_code for now
Working around issues where new key bindings were breaking the editor
-rw-r--r--src/lib/elementary/elm_code_widget.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/elementary/elm_code_widget.c b/src/lib/elementary/elm_code_widget.c
index 5fd9ff2845..0f2c11b0c9 100644
--- a/src/lib/elementary/elm_code_widget.c
+++ b/src/lib/elementary/elm_code_widget.c
@@ -1309,6 +1309,8 @@ _elm_code_widget_key_down_cb(void *data, Evas *evas EINA_UNUSED,
return;
}
+ ev->event_flags |= EVAS_EVENT_FLAG_ON_HOLD;
+
if (!strcmp(ev->key, "Up"))
_elm_code_widget_cursor_move_up(widget);
else if (!strcmp(ev->key, "Down"))