fix(session): remove unneeded wayland environment variables

Signed-off-by: Schmarni <marnistromer@gmail.com>
This commit is contained in:
Schmarni
2025-02-01 20:21:55 +01:00
parent fa40e74d1c
commit f6854d5e9d

View File

@@ -105,11 +105,6 @@ pub fn connection_env() -> FxHashMap<String, String> {
{
var_env_insert!(env, WAYLAND_DISPLAY);
env.insert("XDG_SESSION_TYPE".to_string(), "wayland".to_string());
env.insert("GDK_BACKEND".to_string(), "wayland".to_string());
env.insert("QT_QPA_PLATFORM".to_string(), "wayland".to_string());
env.insert("MOZ_ENABLE_WAYLAND".to_string(), "1".to_string());
env.insert("CLUTTER_BACKEND".to_string(), "wayland".to_string());
env.insert("SDL_VIDEODRIVER".to_string(), "wayland".to_string());
}
env
}