mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-06-17 00:43:56 +02:00
Use SW_MINIMIZE instead of SW_HIDE
Before deferring closing the editor. This still gets rid of that issue in Wine's X11drv that would result in a double destroy, and it also gets rid of a delay that would still occur in Carla.
This commit is contained in:
@@ -261,7 +261,7 @@ Editor::~Editor() {
|
|||||||
// TODO: Check if we also have to do something special for
|
// TODO: Check if we also have to do something special for
|
||||||
// editor_double_embed (probalby not)
|
// editor_double_embed (probalby not)
|
||||||
// TODO: Retest XEmbed after all of these changes
|
// TODO: Retest XEmbed after all of these changes
|
||||||
ShowWindow(win32_handle.get(), SW_HIDE);
|
ShowWindow(win32_handle.get(), SW_MINIMIZE);
|
||||||
}
|
}
|
||||||
|
|
||||||
HWND Editor::get_win32_handle() const {
|
HWND Editor::get_win32_handle() const {
|
||||||
|
|||||||
Reference in New Issue
Block a user