Permalink
Browse files

Merge pull request #491 from youknowone/deactivate-commit

server deactivate 될때 커밋
  • Loading branch information...
youknowone committed Jan 9, 2019
2 parents be3f123 + b96bdd3 commit 2d7d73fc0ec3a326eb5c6e72085f3be08588050d
Showing with 9 additions and 0 deletions.
  1. +9 −0 CommonInputMethod/CIMInputController.swift
@@ -95,6 +95,15 @@ extension CIMInputController { // IMKStateSetting
open override func setValue(_ value: Any, forTag tag: Int, client sender: Any) {
self.receiver.setValue(value, forTag: tag, client: sender, controller: self)
}

open override func activateServer(_ sender: Any!) {
dlog(DEBUG_INPUTCONTROLLER, "server activated")
}

open override func deactivateServer(_ sender: Any!) {
dlog(DEBUG_INPUTCONTROLLER, "server deactivated")
self.receiver.commitComposition(sender, controller: self)
}
}

extension CIMInputController { // IMKMouseHandling

0 comments on commit 2d7d73f

Please sign in to comment.