ctlIME // +adjustIMKCandidateWindowLevel.
This commit is contained in:
parent
9b85ce4500
commit
32e5c60f7a
|
@ -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)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue