提交 6311dccf authored 作者: Serhij S's avatar Serhij S

force weston socket 1

上级 d6ddd454
...@@ -95,9 +95,9 @@ impl ServerKind { ...@@ -95,9 +95,9 @@ impl ServerKind {
match self { match self {
ServerKind::Weston | ServerKind::WestonLegacy => { ServerKind::Weston | ServerKind::WestonLegacy => {
let mut opts = if self == ServerKind::Weston { let mut opts = if self == ServerKind::Weston {
ServerOptions::new("weston") ServerOptions::new("weston --socket=wayland-1")
} else { } else {
ServerOptions::new("weston --tty=1") ServerOptions::new("weston --tty=1 --socket=wayland-1")
}; };
opts = opts opts = opts
.with_env("WAYLAND_DISPLAY", "wayland-1") .with_env("WAYLAND_DISPLAY", "wayland-1")
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论