mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-13 07:35:41 +08:00
Ref T485 Adjust CLogMessage and CStatusMessage call sites to use the new API.
This commit is contained in:
@@ -222,7 +222,7 @@ namespace BlackInput
|
||||
CKeyboardMacOS *keyboardMac = static_cast<CKeyboardMacOS*>(refcon);
|
||||
if (type == kCGEventTapDisabledByTimeout)
|
||||
{
|
||||
BlackMisc::CLogMessage(static_cast<CKeyboardMacOS *>(nullptr)).warning("Event tap got disabled by timeout. Enable it again.");
|
||||
BlackMisc::CLogMessage(static_cast<CKeyboardMacOS *>(nullptr)).warning(u"Event tap got disabled by timeout. Enable it again.");
|
||||
CGEventTapEnable(keyboardMac->m_eventTap, true);
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user