mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-09 20:29:10 +02:00
Add an optional double editor embedding mode #27
This sounds like it would the simplest way to work around the issue of E27 calculating its own coordinates based on the parent window's coordinates. I have not noticed any weird issues with having this enabled all the time, but less moving parts is always better so it's still behind an option.
This commit is contained in:
@@ -373,11 +373,11 @@ intptr_t Vst2Bridge::dispatch_wrapper(AEffect* plugin,
|
||||
// should get a unique window class
|
||||
const std::string window_class =
|
||||
"yabridge plugin " + socket_endpoint.path();
|
||||
Editor& editor_instance =
|
||||
editor.emplace<Editor>(window_class, plugin, x11_handle);
|
||||
Editor& editor_instance = editor.emplace<Editor>(
|
||||
config, window_class, x11_handle, plugin);
|
||||
|
||||
return plugin->dispatcher(plugin, opcode, index, value,
|
||||
editor_instance.win32_handle.get(),
|
||||
editor_instance.get_win32_handle(),
|
||||
option);
|
||||
} break;
|
||||
case effEditClose: {
|
||||
|
||||
Reference in New Issue
Block a user