From dd36bb3d3b32c9d267857c7ed9ea893fbafa8a24 Mon Sep 17 00:00:00 2001 From: Asahi Lina Date: Fri, 23 May 2025 13:06:35 +0900 Subject: [PATCH] Resize the Wine window as well as the wrapper window This fixes issues with various plugins such as PG-8X and SCVA. --- src/wine-host/editor.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/wine-host/editor.cpp b/src/wine-host/editor.cpp index 11316c34..3768943f 100644 --- a/src/wine-host/editor.cpp +++ b/src/wine-host/editor.cpp @@ -395,6 +395,8 @@ void Editor::resize(uint16_t width, uint16_t height) { const std::array values{width, height}; xcb_configure_window(x11_connection_.get(), wrapper_window_.window_, value_mask, values.data()); + xcb_configure_window(x11_connection_.get(), wine_window_, value_mask, + values.data()); xcb_flush(x11_connection_.get()); // This will trigger the `XCB_CONFIGURE_REQUEST` handler in