From ba7022df0aee1e91cde62d7f0e940d3bc43a82b0 Mon Sep 17 00:00:00 2001 From: Juuso Kaitila Date: Wed, 21 Jan 2026 16:15:44 +0200 Subject: [PATCH] Fix some plugins not resizing with their expansion toggles DMG Audio Compassion has a expand/contract toggle button that adds a new section below the main GUI. Without SWP_NOMOVE it would most of the time fail to expand and the parent_window_ would sometimes fail to resize accordingly if the expansion/contraction succeeded resulting in the GUI locking up. SWP_NOOWNERZORDER is the same as SWP_NOREPOSITION so having them both was redundant. --- src/wine-host/editor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wine-host/editor.cpp b/src/wine-host/editor.cpp index b7da3465..f5555141 100644 --- a/src/wine-host/editor.cpp +++ b/src/wine-host/editor.cpp @@ -418,7 +418,7 @@ void Editor::resize(uint16_t width, uint16_t height) { // `handle_x11_events()` SetWindowPos( win32_window_.handle_, nullptr, 0, 0, width, height, - SWP_NOREPOSITION | SWP_NOACTIVATE | SWP_NOOWNERZORDER | SWP_DEFERERASE); + SWP_NOREPOSITION | SWP_NOACTIVATE | SWP_DEFERERASE | SWP_NOMOVE); // NOTE: This lets us skip resize requests in CLAP plugins when the plugin // tries to resize to its current size. This fixes resize loops when