Keep the shell renderer preference out of launched applications
This commit is contained in:
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") {
|
if let Some(display) = std::env::var_os("FERESE_PUBLIC_WAYLAND_DISPLAY") {
|
||||||
command.env("WAYLAND_DISPLAY", 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> {
|
fn spawn(command: &mut std::process::Command) -> Result<(), String> {
|
||||||
public_environment(command);
|
public_environment(command);
|
||||||
|
|||||||
Reference in new issue
Block a user