Cocoa: fix quick access terminal hide focus restore

Apple now makes kitty the front most application before sending the
service notification. So instead watch for front most application change
events from the shared workspace and restore focus to the last non-self
application.
This commit is contained in:
Kovid Goyal
2025-07-21 14:55:12 +05:30
parent fd5876b94e
commit 55a2f2c55c
4 changed files with 19 additions and 7 deletions

View File

@@ -115,6 +115,9 @@ Detailed list of changes
- Wayland: Fix incorrect window size calculation when transitioning from
fullscreen to non-fullscreen with client side decorations (:iss:`8826`)
- macOS: Fix hiding quick access terminal window not restoring focus to
previously active application (:disc:`8840`)
0.42.2 [2025-07-16]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~