Split X11 and Win32 event handling

X11 events should always be handled since it's thread safe and they
don't block.
This commit is contained in:
Robbert van der Helm
2020-05-26 11:11:34 +02:00
parent 064bb2684f
commit 9a35023990
4 changed files with 22 additions and 12 deletions
+2 -1
View File
@@ -152,7 +152,8 @@ void Vst2Bridge::handle_dispatch_single() {
plugin, std::bind(&Vst2Bridge::dispatch_wrapper,
this, _1, _2, _3, _4, _5, _6)));
pump_message_loop();
handle_win32_events();
handle_x11_events();
}
} catch (const boost::system::system_error&) {
// The plugin has cut off communications, so we can shut down this host