1
0
Fork 0
forked from wry/wry

autocommit 2022-04-14 19:52:11 CEST

This commit is contained in:
Julian Orth 2022-04-14 19:52:11 +02:00
parent 35ddfbcbe3
commit 5f13954dbc
27 changed files with 556 additions and 312 deletions

View file

@ -47,6 +47,7 @@ use {
thiserror::Error,
uapi::{c, OwnedFd},
};
use crate::compositor::DISPLAY;
pub mod consts;
mod formatter;
@ -885,7 +886,7 @@ impl XconData {
}
fn parse_display() -> Result<u32, XconError> {
let display = match std::env::var("DISPLAY") {
let display = match std::env::var(DISPLAY) {
Ok(d) => d,
_ => return Err(XconError::DisplayNotSet),
};