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
@@ -5,3 +5,10 @@
// Query Wine's actual X11 window, not a title/geometry search. Origin translates
// desktop-local Win32 positions to physical root coordinates in virtual mode.
bool review_x11_geometry(HWND window, RECT &bounds, POINT &origin);
// True only when both the window manager and X11 focus select this prefix's
// virtual desktop itself, rather than another application or desktop child.
bool wine_x11_desktop_focused();
// Deliver native focus to the application's actual child of this desktop.
bool wine_x11_restore_focus(HWND window);