Resize the Wine window as well as the wrapper window

This fixes issues with various plugins such as PG-8X and SCVA.
This commit is contained in:
Asahi Lina
2025-05-23 13:06:35 +09:00
committed by Robbert van der Helm
parent 6f65613292
commit dd36bb3d3b
+2
View File
@@ -395,6 +395,8 @@ void Editor::resize(uint16_t width, uint16_t height) {
const std::array<uint32_t, 2> values{width, height}; const std::array<uint32_t, 2> values{width, height};
xcb_configure_window(x11_connection_.get(), wrapper_window_.window_, xcb_configure_window(x11_connection_.get(), wrapper_window_.window_,
value_mask, values.data()); value_mask, values.data());
xcb_configure_window(x11_connection_.get(), wine_window_, value_mask,
values.data());
xcb_flush(x11_connection_.get()); xcb_flush(x11_connection_.get());
// This will trigger the `XCB_CONFIGURE_REQUEST` handler in // This will trigger the `XCB_CONFIGURE_REQUEST` handler in