Isolate nested IPC sockets and define session ownership policy
This commit is contained in:
1 parent
97026a0db7
commit
ce024d4794
42 files changed
+635
-147
No files matched your search
@@ -349,6 +349,8 @@ mod tests {
|
||||
|
||||
fn environment() -> SessionEnvironment {
|
||||
SessionEnvironment {
|
||||
control_socket: std::path::PathBuf::from("/run/user/1000/ferese/control.sock"),
|
||||
policy: crate::SessionPolicy::Desktop,
|
||||
wayland_display: OsString::from("wayland-7"),
|
||||
x11: None,
|
||||
}
|
||||
|
||||
@@ -90,6 +90,8 @@ impl Fixture {
|
||||
|
||||
fn environment(&self) -> SessionEnvironment {
|
||||
SessionEnvironment {
|
||||
control_socket: PathBuf::from("/run/user/1000/ferese/control.sock"),
|
||||
policy: crate::SessionPolicy::Desktop,
|
||||
wayland_display: std::ffi::OsString::from("wayland-it"),
|
||||
x11: Some(X11Environment {
|
||||
display: std::ffi::OsString::from(self.reservation.display_name()),
|
||||
|
||||
Reference in new issue
Block a user