mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-09 20:29:10 +02:00
Fetch the Wine and root window IDs early
There's no reason to wait until the last moment to fetch these.
This commit is contained in:
@@ -102,7 +102,7 @@ class DeferredWin32Window {
|
||||
*/
|
||||
DeferredWin32Window(MainContext& main_context,
|
||||
std::shared_ptr<xcb_connection_t> x11_connection,
|
||||
HWND window) noexcept;
|
||||
HWND window);
|
||||
|
||||
/**
|
||||
* Post a `WM_CLOSE` message to the `handle`'s message queue as described
|
||||
@@ -115,6 +115,9 @@ class DeferredWin32Window {
|
||||
private:
|
||||
MainContext& main_context;
|
||||
std::shared_ptr<xcb_connection_t> x11_connection;
|
||||
|
||||
const xcb_window_t wine_window;
|
||||
const xcb_window_t root_window;
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user