Keep the shell renderer preference out of launched applications

This commit is contained in:
Samuel Onoja committed 2026-10-14 18:24:44 +01:00
1 parent 0be35b7f8a
commit 63a3e41400
1 file changed
+2
@@ -97,6 +97,8 @@ fn public_environment(command: &mut std::process::Command) {
if let Some(display) = std::env::var_os("FERESE_PUBLIC_WAYLAND_DISPLAY") {
command.env("WAYLAND_DISPLAY", display);
}
command.env_remove("FERESE_PUBLIC_WAYLAND_DISPLAY");
crate::renderer::configure_app(command);
}
fn spawn(command: &mut std::process::Command) -> Result<(), String> {
public_environment(command);