diff --git a/Cargo.lock b/Cargo.lock index 69560720e..65e07cf3a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2017,6 +2017,7 @@ dependencies = [ "bintree", "config", "downcast-rs", + "libc", "log", "portable-pty", "promise", diff --git a/mux/Cargo.toml b/mux/Cargo.toml index 4e27fb3af..f6c87e3a9 100644 --- a/mux/Cargo.toml +++ b/mux/Cargo.toml @@ -12,6 +12,7 @@ async-trait = "0.1" bintree = { path = "../bintree" } config = { path = "../config" } downcast-rs = "1.0" +libc = "0.2" log = "0.4" portable-pty = { path = "../pty", features = ["serde_support"]} promise = { path = "../promise" } diff --git a/wezterm/src/gui/mod.rs b/wezterm/src/gui/mod.rs index 2c0e4869f..6ed3a992b 100644 --- a/wezterm/src/gui/mod.rs +++ b/wezterm/src/gui/mod.rs @@ -1,6 +1,5 @@ use ::window::*; use anyhow::Error; -use config::configuration; pub use config::FrontEndSelection; use mux::{Mux, MuxNotification}; use std::cell::RefCell; @@ -49,7 +48,7 @@ impl GuiFrontEnd { pub fn try_new() -> anyhow::Result> { #[cfg(all(unix, not(target_os = "macos")))] { - if !configuration().enable_wayland { + if !config::configuration().enable_wayland { Connection::disable_wayland(); } }