SessionCtl // Disable setMarkedText() on activateServer().
This commit is contained in:
parent
af218e9e7c
commit
bd0fe1bacc
|
@ -148,6 +148,7 @@ public class SessionCtl: IMKInputController {
|
||||||
|
|
||||||
extension SessionCtl {
|
extension SessionCtl {
|
||||||
/// 強制重設當前鍵盤佈局、使其與偏好設定同步。
|
/// 強制重設當前鍵盤佈局、使其與偏好設定同步。
|
||||||
|
/// - Remark: 該函式需要顯著的執行時間。
|
||||||
public func setKeyLayout() {
|
public func setKeyLayout() {
|
||||||
guard let client = client(), let myID = Bundle.main.bundleIdentifier, !myID.isEmpty,
|
guard let client = client(), let myID = Bundle.main.bundleIdentifier, !myID.isEmpty,
|
||||||
clientBundleIdentifier != myID
|
clientBundleIdentifier != myID
|
||||||
|
|
Loading…
Reference in New Issue