// SPDX-License-Identifier: LGPL-2.1-or-later #pragma once #include // 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);