diff --git a/src/main.rs b/src/main.rs index a34e879..e49d48c 100644 --- a/src/main.rs +++ b/src/main.rs @@ -2932,7 +2932,7 @@ mod tests { // goto for killing xephyr no matter what let ok = loop { unsafe { - let xcon = match Connection::connect(None) { + let xcon = match Connection::connect(Some(":1.0")) { Ok((xcon, _)) => xcon, Err(e) => { eprintln!("rwm: cannot get xcb connection: {e:?}");