diff --git a/.changes/loop-proxy.md b/.changes/loop-proxy.md new file mode 100644 index 000000000..364933c5a --- /dev/null +++ b/.changes/loop-proxy.md @@ -0,0 +1,6 @@ +--- +"tao": patch +--- + +On Linux, wake the main context in `EventLoopProxy::send_event()`. + diff --git a/src/platform_impl/linux/event_loop.rs b/src/platform_impl/linux/event_loop.rs index ab82b9546..d363074b2 100644 --- a/src/platform_impl/linux/event_loop.rs +++ b/src/platform_impl/linux/event_loop.rs @@ -1088,7 +1088,12 @@ impl EventLoopProxy { } else { unreachable!(); } - }) + })?; + + let context = MainContext::default(); + context.wakeup(); + + Ok(()) } }