diff options
author | crupest <crupest@outlook.com> | 2020-10-30 00:26:35 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2020-10-30 00:26:35 +0800 |
commit | 72d801f9b2a41ab2bcd9023c65422e089d885107 (patch) | |
tree | 2f279aa8e43dac81197f84897014e71c5e93590b /src/win/gui/InputMethod.cpp | |
parent | 9c9a9c988b5d03642f931341c97b672d054936c8 (diff) | |
download | cru-72d801f9b2a41ab2bcd9023c65422e089d885107.tar.gz cru-72d801f9b2a41ab2bcd9023c65422e089d885107.tar.bz2 cru-72d801f9b2a41ab2bcd9023c65422e089d885107.zip |
...
Diffstat (limited to 'src/win/gui/InputMethod.cpp')
-rw-r--r-- | src/win/gui/InputMethod.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
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; } |