From b67c5279f9a1eab143da2aeccb0c8d5eeb9511de Mon Sep 17 00:00:00 2001 From: RustDesk <71636191+rustdesk@users.noreply.github.com> Date: Fri, 4 Dec 2026 11:22:19 +0800 Subject: [PATCH] fix(linux): wake the tray event loop at its WaitUntil deadline (#17403) Bump rustdesk-org/tao to 74684bd8, a cherry-pick of tauri-apps/tao#1458. On Linux, tao's run_return blocked in gtk::main_iteration_do(true) for ControlFlow::WaitUntil with no GLib source for the deadline, so an idle loop slept until some unrelated event arrived. The tray polls menu events under a 100 ms WaitUntil, so a menu click could wait many seconds (#17124). The patch only touches src/platform_impl/linux/event_loop.rs. Claude-Session: https://claude.ai/code/session_01JAxkkig1bcC5Xrr1uwX47b Co-authored-by: Claude Opus 5.5 --- Cargo.lock | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 566817f2d..f3e320548 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -8209,7 +8209,7 @@ dependencies = [ [[package]] name = "tao" version = "0.25.0" -source = "git+https://github.com/rustdesk-org/tao?branch=dev#288c219cb0527e509590c2b2d8e7072aa9feb2d3" +source = "git+https://github.com/rustdesk-org/tao?branch=dev#74684bd8b7f565a0edf9412f7403f6433f0d5efb" dependencies = [ "bitflags 1.3.2", "cc", @@ -8249,7 +8249,7 @@ dependencies = [ [[package]] name = "tao-macros" version = "0.1.2" -source = "git+https://github.com/rustdesk-org/tao?branch=dev#288c219cb0527e509590c2b2d8e7072aa9feb2d3" +source = "git+https://github.com/rustdesk-org/tao?branch=dev#74684bd8b7f565a0edf9412f7403f6433f0d5efb" dependencies = [ "proc-macro2 1.0.93", "quote 1.0.36",