SessionCtl // Also debug-print the client when state changes.

This commit is contained in:
ShikiSuen 2022-10-10 08:48:43 +08:00
parent b401556ff0
commit 940e9b6d85
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@ class SessionCtl: IMKInputController {
var state: IMEStateProtocol = IMEState.ofEmpty() { var state: IMEStateProtocol = IMEState.ofEmpty() {
didSet { didSet {
guard oldValue.type != state.type else { return } 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 } // guard state.isCandidateContainer != oldValue.isCandidateContainer else { return }
// if state.isCandidateContainer || oldValue.isCandidateContainer { setKeyLayout() } // if state.isCandidateContainer || oldValue.isCandidateContainer { setKeyLayout() }