aboutsummaryrefslogtreecommitdiff
path: root/src/win/native/input_method.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/win/native/input_method.cpp')
-rw-r--r--src/win/native/input_method.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/win/native/input_method.cpp b/src/win/native/input_method.cpp
index 837d0ed7..9d8b0760 100644
--- a/src/win/native/input_method.cpp
+++ b/src/win/native/input_method.cpp
@@ -88,25 +88,16 @@ void WinInputMethodContextRef::OnWindowNativeMessage(
switch (message.msg) {
case WM_IME_COMPOSITION: {
composition_text_change_event_.Raise(this->GetCompositionText());
- args.HandleWithResult(0);
break;
}
case WM_IME_STARTCOMPOSITION: {
composition_start_event_.Raise(nullptr);
- args.HandleWithResult(0);
break;
}
case WM_IME_ENDCOMPOSITION: {
composition_end_event_.Raise(nullptr);
- args.HandleWithResult(0);
break;
}
- case WM_IME_SETCONTEXT: {
- const auto new_l_param =
- message.l_param & (~static_cast<LPARAM>(ISC_SHOWUICOMPOSITIONWINDOW));
- args.HandleWithResult(::DefWindowProcW(message.hwnd, message.msg,
- message.w_param, new_l_param));
- }
}
}
} // namespace cru::platform::native::win