From 940e9b6d852ac2dc654e6c72e5f49417ef48ccdd Mon Sep 17 00:00:00 2001 From: ShikiSuen Date: Mon, 10 Oct 2022 08:48:43 +0800 Subject: [PATCH] SessionCtl // Also debug-print the client when state changes. --- Source/Modules/SessionCtl_Core.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Modules/SessionCtl_Core.swift b/Source/Modules/SessionCtl_Core.swift index 00625e19..ead8bc66 100644 --- a/Source/Modules/SessionCtl_Core.swift +++ b/Source/Modules/SessionCtl_Core.swift @@ -64,7 +64,7 @@ class SessionCtl: IMKInputController { var state: IMEStateProtocol = IMEState.ofEmpty() { didSet { guard oldValue.type != state.type else { return } - vCLog("Current State: \(state.type.rawValue)") + vCLog("Current State: \(state.type.rawValue), client: \(clientBundleIdentifier)") // 因鍵盤訊號翻譯機制存在,故禁用下文。 // guard state.isCandidateContainer != oldValue.isCandidateContainer else { return } // if state.isCandidateContainer || oldValue.isCandidateContainer { setKeyLayout() }