From 0ff0f27e222633c97ba4291f6b9be4137002ca84 Mon Sep 17 00:00:00 2001 From: Can Celik Date: Mon, 21 Sep 2026 00:29:45 +0300 Subject: fix: preserve session layouts across shutdown and restore failures (#4400) * fix: preserve session layouts across shutdown and restore failures refs #4320 * test: update subscription fixture for pane restore errors --------- Co-authored-by: JJ Liebig --- Cargo.toml | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index 8c27a543..0c18ec55 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -51,6 +51,11 @@ schemars = { version = "1.2.1", features = ["derive"] } [patch.crates-io] portable-pty = { path = "vendor/portable-pty" } +[target.'cfg(target_os = "linux")'.dependencies] +# logind's delay inhibitor lets the server save before host shutdown kills panes. +zbus = { version = "5.19", default-features = false, features = ["tokio"] } +futures-util = { version = "0.3", default-features = false, features = ["std"] } + [target.'cfg(windows)'.dependencies] # UTF-16 SDDL input for interprocess security descriptors. widestring = "1.2" -- cgit v1.2.3