We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0ebbef commit c43fc81Copy full SHA for c43fc81
src/gui/input/panels/InputPanel.cpp
@@ -212,6 +212,10 @@ void InputPanel::bind_hotkey_events(wxTextCtrl* text_ctrl)
212
text_ctrl->Bind(wxEVT_SET_FOCUS, &InputPanel::on_edit_key_focus, this);
213
text_ctrl->Bind(wxEVT_KILL_FOCUS, &InputPanel::on_edit_key_kill_focus, this);
214
text_ctrl->Bind(wxEVT_RIGHT_DOWN, &InputPanel::on_right_click, this);
215
+#if BOOST_OS_LINUX
216
+ // Bind to a no-op lambda to disable arrow keys navigation
217
+ text_ctrl->Bind(wxEVT_KEY_DOWN, [](wxKeyEvent &) {});
218
+#endif
219
}
220
221
void InputPanel::on_left_click(wxMouseEvent& event)
0 commit comments