elementary: Grab all key presses in elm_code for now

Working around issues where new key bindings were breaking the editor
This commit is contained in:
Andy Williams 2016-07-03 20:48:14 +01:00
parent 9622146c3d
commit 5c8ea3a6f3
1 changed files with 2 additions and 0 deletions

View File

@ -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"))