Handle X11 events within the Win32 event loop

This unifies event handling and it allows X11 events to still be
processed even when the event loop is blocked.
This commit is contained in:
Robbert van der Helm
2021-07-31 15:19:44 +02:00
parent d01833c458
commit c98a9519fe
11 changed files with 49 additions and 78 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ HostBridge::HostBridge(MainContext& main_context,
HostBridge::~HostBridge() noexcept {}
void HostBridge::handle_win32_events() noexcept {
void HostBridge::handle_events() noexcept {
MSG msg;
for (int i = 0;