mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-10 04:30:12 +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:
@@ -101,11 +101,16 @@ class Editor {
|
||||
void send_idle_event();
|
||||
|
||||
/**
|
||||
* Pump messages from the editor GUI's event loop until all events are
|
||||
* process. Must be run from the same thread the GUI was created in because
|
||||
* of Win32 limitations.
|
||||
* Pump messages from the editor loop loop until all events are process.
|
||||
* Must be run from the same thread the GUI was created in because of Win32
|
||||
* limitations.
|
||||
*/
|
||||
void handle_events();
|
||||
void handle_win32_events();
|
||||
|
||||
/**
|
||||
* Handle X11 events sent to the window our editor is embedded in.
|
||||
*/
|
||||
void handle_x11_events();
|
||||
|
||||
private:
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user