aboutsummaryrefslogtreecommitdiff
path: root/alacritty_terminal/src/tty/unix.rs
diff options
context:
space:
mode:
Diffstat (limited to 'alacritty_terminal/src/tty/unix.rs')
-rw-r--r--alacritty_terminal/src/tty/unix.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/alacritty_terminal/src/tty/unix.rs b/alacritty_terminal/src/tty/unix.rs
index 8084a753..6565f20b 100644
--- a/alacritty_terminal/src/tty/unix.rs
+++ b/alacritty_terminal/src/tty/unix.rs
@@ -227,6 +227,10 @@ pub fn from_fd(config: &Options, window_id: u64, master: OwnedFd, slave: OwnedFd
builder.env(key, value);
}
+ // Prevent child processes from inheriting linux-specific startup notification env.
+ builder.env_remove("XDG_ACTIVATION_TOKEN");
+ builder.env_remove("DESKTOP_STARTUP_ID");
+
unsafe {
builder.pre_exec(move || {
// Create a new process group.