Better window detection for when a window regains focus.

This commit is contained in:
Storm Dragon committed 2026-10-15 13:25:47 -04:00
1 parent e3de71e594
commit ea509509e4
6 files changed
+67 -14

No files matched your search

+3 -2
View File
@@ -7,8 +7,9 @@
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();
// virtual desktop, with keyboard focus on the desktop itself or, when supplied,
// the verified application's X11 child hierarchy.
bool wine_x11_desktop_focused(HWND window = nullptr);
// Deliver native focus to the application's actual child of this desktop.
bool wine_x11_restore_focus(HWND window);