fixup build for macos
This commit is contained in:
1 parent
e2e46cb50d
commit
a0b3932e6d
3 files changed
+3
-2
No files matched your search
Generated
+1
@@ -2017,6 +2017,7 @@ dependencies = [
|
||||
"bintree",
|
||||
"config",
|
||||
"downcast-rs",
|
||||
"libc",
|
||||
"log",
|
||||
"portable-pty",
|
||||
"promise",
|
||||
|
||||
@@ -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" }
|
||||
|
||||
@@ -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<Rc<GuiFrontEnd>> {
|
||||
#[cfg(all(unix, not(target_os = "macos")))]
|
||||
{
|
||||
if !configuration().enable_wayland {
|
||||
if !config::configuration().enable_wayland {
|
||||
Connection::disable_wayland();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user