diff --git a/Cargo.toml b/Cargo.toml index b61c645..c83ae95 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "wldash2" version = "0.2.0" -edition = "2021" +edition = "2024" [profile.release] #debug = true diff --git a/src/state.rs b/src/state.rs index b36f5e1..61a57bd 100644 --- a/src/state.rs +++ b/src/state.rs @@ -141,7 +141,7 @@ impl State { activation.activate(key, surface); let activation_token = activation.get_activation_token(qh, ()); activation_token.commit(); - env::remove_var("XDG_ACTIVATION_TOKEN"); + unsafe { env::remove_var("XDG_ACTIVATION_TOKEN"); } } _ => (), }