Skip to content

Commit

Permalink
specify display for xcb too
Browse files Browse the repository at this point in the history
  • Loading branch information
ntBre committed Dec 5, 2024
1 parent a2b20ca commit 507caca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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:?}");
Expand Down

0 comments on commit 507caca

Please sign in to comment.