mirror of
https://github.com/stablyai/orca.git
synced 2026-11-16 19:07:41 +00:00
* fix(computer): click macOS windows that refuse focus with --restore-window A raised window that never becomes the focused window (Archicad's CEF start window) failed every --restore-window click with window_not_focused, because the click fence required the target to be focused as well as topmost at the point. A real click reaches the topmost window whether it is focused or not, so when the target stays unfocused the click now goes ahead while the target is topmost at the point, and is refused before anything is sent when another window covers it. Afterwards the app the user had in front comes back if the raise or the click left the target app in front without the target window. * fix(computer): restore the front app only after a click on a window that refused focus * fix(computer): keep the target app in front when an unfocused-window click opened something * fix(computer): count small popups and re-read the front app last before restoring it