imgui: Attempt to fix Tab key

This commit is contained in:
Vojtech Kral 2019-02-21 11:54:18 +01:00
parent 73daf085e6
commit bf699462c3
5 changed files with 15 additions and 12 deletions

View file

@ -138,11 +138,8 @@ bool ImGuiWrapper::update_key_data(wxKeyEvent &evt)
io.KeyAlt = evt.AltDown();
io.KeySuper = evt.MetaDown();
// XXX: Unfortunatelly this seems broken due to some interference with wxWidgets,
// we have to return true always (perform re-render).
// new_frame();
// return want_keyboard() || want_text_input();
return true;
new_frame();
return want_keyboard() || want_text_input();
}
}