diff options
Diffstat (limited to 'src/osx/gui/InputMethod.mm')
-rw-r--r-- | src/osx/gui/InputMethod.mm | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/src/osx/gui/InputMethod.mm b/src/osx/gui/InputMethod.mm index 2331d8b7..2c4ac643 100644 --- a/src/osx/gui/InputMethod.mm +++ b/src/osx/gui/InputMethod.mm @@ -3,6 +3,7 @@ #import <AppKit/AppKit.h> #include "InputMethodPrivate.h" #include "WindowPrivate.h" +#include "cru/common/Logger.hpp" #include "cru/osx/Convert.hpp" #include "cru/osx/gui/Window.hpp" @@ -54,9 +55,15 @@ OsxInputMethodContext::OsxInputMethodContext(OsxWindow* window) OsxInputMethodContext::~OsxInputMethodContext() {} -void OsxInputMethodContext::EnableIME() { p_->Activate(); } +void OsxInputMethodContext::EnableIME() { + log::Debug(u"Enable IME."); + p_->Activate(); +} -void OsxInputMethodContext::DisableIME() { p_->Deactivate(); } +void OsxInputMethodContext::DisableIME() { + log::Debug(u"Disable IME."); + p_->Deactivate(); +} bool OsxInputMethodContext::ShouldManuallyDrawCompositionText() { return true; } |