mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-07 03:50:11 +02:00
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:
committed by
Robbert van der Helm
parent
6f65613292
commit
dd36bb3d3b
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user