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 9f08bbc529
commit 0ae894d639
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!) { override init!(server: IMKServer!, delegate: Any!, client inputClient: Any!) {
super.init(server: server, delegate: delegate, client: inputClient) super.init(server: server, delegate: delegate, client: inputClient)
keyHandler.delegate = self keyHandler.delegate = self
//
activateServer(inputClient)
resetKeyHandler()
} }
// MARK: - KeyHandler Reset Command // MARK: - KeyHandler Reset Command