aboutsummaryrefslogtreecommitdiff
path: root/src/win/gui/InputMethod.cpp
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2020-10-30 00:26:35 +0800
committercrupest <crupest@outlook.com>2020-10-30 00:26:35 +0800
commit72d801f9b2a41ab2bcd9023c65422e089d885107 (patch)
tree2f279aa8e43dac81197f84897014e71c5e93590b /src/win/gui/InputMethod.cpp
parent9c9a9c988b5d03642f931341c97b672d054936c8 (diff)
downloadcru-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.cpp6
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;
}