mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-10 04:30:12 +02:00
Rearrange order of Win32 and X11 event handling
Should not matter that much, but a potential situation where you would want to have handled the X11 events first is when the editor enters a blocking message loop while it is waiting on a GUI component just as the window gets moved by an external program or window manager.
This commit is contained in:
@@ -162,8 +162,8 @@ void Vst2Bridge::handle_dispatch_single() {
|
|||||||
plugin, std::bind(&Vst2Bridge::dispatch_wrapper,
|
plugin, std::bind(&Vst2Bridge::dispatch_wrapper,
|
||||||
this, _1, _2, _3, _4, _5, _6)));
|
this, _1, _2, _3, _4, _5, _6)));
|
||||||
|
|
||||||
handle_win32_events();
|
|
||||||
handle_x11_events();
|
handle_x11_events();
|
||||||
|
handle_win32_events();
|
||||||
}
|
}
|
||||||
} catch (const boost::system::system_error&) {
|
} catch (const boost::system::system_error&) {
|
||||||
// The plugin has cut off communications, so we can shut down this host
|
// The plugin has cut off communications, so we can shut down this host
|
||||||
|
|||||||
Reference in New Issue
Block a user