autocommit 2022-04-14 19:52:11 CEST
This commit is contained in:
parent
35ddfbcbe3
commit
5f13954dbc
27 changed files with 556 additions and 312 deletions
|
|
@ -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),
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue