mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-06-20 19:03:56 +02:00
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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user