macOS: Also update IME position when new window is focused

This commit is contained in:
Kovid Goyal 2021-11-12 09:22:36 +05:30
parent ffa755c723
commit 7e5cb50925
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -704,6 +704,7 @@ class Window:
call_watchers(weakref.ref(self), 'on_focus_change', {'focused': focused})
self.screen.focus_changed(focused)
if focused:
update_ime_position_for_window(self.id)
changed = self.needs_attention
self.needs_attention = False
if changed: