mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-11 02:59:40 +02:00
macOS: Also update IME position when new window is focused
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user