ctlIME // +adjustIMKCandidateWindowLevel.

This commit is contained in:
ShikiSuen 2022-08-19 14:17:39 +08:00
parent 9b85ce4500
commit 32e5c60f7a
1 changed files with 3 additions and 1 deletions

View File

@ -107,7 +107,9 @@ extension ctlInputMethod {
ctlInputMethod.ctlCandidateCurrent.reloadData() ctlInputMethod.ctlCandidateCurrent.reloadData()
// Spotlight IMK // Spotlight IMK
if let ctlCandidateCurrent = ctlInputMethod.ctlCandidateCurrent as? ctlCandidateIMK { if let ctlCandidateCurrent = ctlInputMethod.ctlCandidateCurrent as? ctlCandidateIMK,
mgrPrefs.adjustIMKCandidateWindowLevel
{
ctlCandidateCurrent.perform(Selector(("setWindowLevel:")), with: client.windowLevel() + 1000) ctlCandidateCurrent.perform(Selector(("setWindowLevel:")), with: client.windowLevel() + 1000)
} }