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:
parent
9f08bbc529
commit
0ae894d639
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue