We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8c4c03e commit dba1a60Copy full SHA for dba1a60
1 file changed
src/backend.cpp
@@ -469,7 +469,7 @@ class $modify(CCIMEDispatcher) {
469
ImGui::GetIO().AddInputCharactersUTF8(std::string(text, len).c_str());
470
}
471
else if (ImGui::GetIO().WantCaptureKeyboard) { // KEY_... (text "a")
472
- auto* capt = &ImGui::GetIO().WantCaptureKeyboard;
+ auto& capt = ImGui::GetIO().WantCaptureKeyboard;
473
capt = ImGui::GetIO().WantTextInput ? false : capt;
474
CCKeyboardDispatcher::get()->dispatchKeyboardMSG(key, true, false);
475
CCKeyboardDispatcher::get()->dispatchKeyboardMSG(key, false, false);
0 commit comments