mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-13 12:19:25 +00:00
fix(mac): osk shows unexpectedly
Fixes #2346. The OSK would show unexpectedly when switching applications because the last active window was inconsistently cleared.
This commit is contained in:
parent
d9e8e546dc
commit
db5c4e6a26
1 changed files with 2 additions and 0 deletions
|
|
@ -233,6 +233,8 @@ id _lastServerWithOSKShowing = nil;
|
|||
if (_kvk != nil && (_alwaysShowOSK || _lastServerWithOSKShowing == newServer)) {
|
||||
[self showOSK];
|
||||
}
|
||||
|
||||
_lastServerWithOSKShowing = nil;
|
||||
}
|
||||
|
||||
CGEventRef eventTapFunction(CGEventTapProxy proxy, CGEventType type, CGEventRef event, void *refcon) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue