From 60592ae0d7a98e071e516fcac70c5bf1427f20be Mon Sep 17 00:00:00 2001 From: Erik Kundiman Date: Thu, 22 Feb 2024 08:38:12 +0800 Subject: IME composition is now replaced by the result instead of being printed alongside. For now, it always gets reset from the start after pressing Return, which is to be fixed next. --- indra/llwindow/llwindowsdl.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'indra/llwindow/llwindowsdl.cpp') diff --git a/indra/llwindow/llwindowsdl.cpp b/indra/llwindow/llwindowsdl.cpp index bbc966fb25..f56b6bfa7b 100644 --- a/indra/llwindow/llwindowsdl.cpp +++ b/indra/llwindow/llwindowsdl.cpp @@ -1893,12 +1893,12 @@ void LLWindowSDL::gatherInput() break; case SDL_TEXTINPUT: - mCallbacks->handleUnicodeString(event.text.text); + mCallbacks->handleUnicodeString(event.text.text, false); break; case SDL_TEXTEDITING: - mCallbacks->handleUnicodeString(event.edit.text); - break; + mCallbacks->handleUnicodeString(event.edit.text, true); + break; case SDL_KEYUP: mKeyScanCode = event.key.keysym.scancode; -- cgit v1.2.3