ctlIME // ActivateServer on init.

- This is to make sure IME is ready-to-use right-after manual rebooting the IME itself.
This commit is contained in:
ShikiSuen 2022-04-14 20:18:36 +08:00
parent f2ca6ed5c9
commit 095d86f329
1 changed files with 3 additions and 0 deletions

View File

@ -75,6 +75,9 @@ class ctlInputMethod: IMKInputController {
override init!(server: IMKServer!, delegate: Any!, client inputClient: Any!) {
super.init(server: server, delegate: delegate, client: inputClient)
keyHandler.delegate = self
//
activateServer(inputClient)
resetKeyHandler()
}
// MARK: - KeyHandler Reset Command