From 72d801f9b2a41ab2bcd9023c65422e089d885107 Mon Sep 17 00:00:00 2001 From: crupest Date: Fri, 30 Oct 2020 00:26:35 +0800 Subject: ... --- src/win/gui/InputMethod.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/win/gui/InputMethod.cpp') diff --git a/src/win/gui/InputMethod.cpp b/src/win/gui/InputMethod.cpp index 34638516..492f1c2f 100644 --- a/src/win/gui/InputMethod.cpp +++ b/src/win/gui/InputMethod.cpp @@ -258,10 +258,16 @@ void WinInputMethodContext::OnWindowNativeMessage( break; } case WM_IME_STARTCOMPOSITION: { + if constexpr (DebugFlags::input_method) { + log::TagDebug(log_tag, u"WM_IME_STARTCOMPOSITION received."); + } composition_start_event_.Raise(nullptr); break; } case WM_IME_ENDCOMPOSITION: { + if constexpr (DebugFlags::input_method) { + log::TagDebug(log_tag, u"WM_IME_ENDCOMPOSITION received."); + } composition_end_event_.Raise(nullptr); break; } -- cgit v1.2.3