Restore wine access after program loses and regains focus.

This commit is contained in:
Storm Dragon committed 2026-10-12 04:17:31 -04:00
1 parent f40e471938
commit c3e981b4c2
12 files changed
+351 -2

No files matched your search

+7
View File
@@ -89,6 +89,13 @@ The helper is started automatically when Cthulhu-Go detects an active Wine
loader for the same user and prefix. It requires the Go service to be running;
it exits if `org.stormux.Cthulhu1.Service` is unavailable.
When a game closes inside a Wine virtual desktop, the desktop can regain X11
focus while Wine has no foreground application. The helper restores native
focus when exactly one visible, enabled application remains. Both X11 keyboard
focus and the window manager's active window must identify that same virtual
desktop. Existing application focus, Linux windows, minimized/disabled windows,
and ambiguous choices between multiple applications are left alone.
## Protocol and behavior
`nvdaController.idl` contains the compatible local RPC interfaces. The helper