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
+3 -2
View File
@@ -126,10 +126,11 @@ class Vst2Bridge {
plugin, opcode, index, value, data, option);
dispatch_result.set_value(result);
if (!message_loop_blocked()) {
pump_message_loop();
handle_win32_events();
}
handle_x11_events();
});
return dispatch_result.get_future().get();