We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent af01aeb commit ae3896cCopy full SHA for ae3896c
1 file changed
src/gui/tray.rs
@@ -67,12 +67,14 @@ pub fn start_tray_handler(
67
let bg_executor = async_app.background_executor().clone();
68
let bg_executor_clone = bg_executor.clone();
69
70
+ #[cfg(not(target_os = "linux"))]
71
start_tray_handler_inner(settings, tx, bg_executor_clone);
72
73
#[cfg(target_os = "linux")]
74
bg_executor
75
.spawn(async move {
76
gtk::init().expect("Failed to init gtk modules");
77
+ start_tray_handler_inner(settings, tx, bg_executor_clone);
78
gtk::main();
79
})
80
.detach();
0 commit comments