From 33562940673c5ec9e5177fbe0b6c750a86615db9 Mon Sep 17 00:00:00 2001 From: Vaxry Date: Wed, 3 Jul 2024 22:12:28 +0200 Subject: [PATCH] stuf2 --- src/Compositor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Compositor.cpp b/src/Compositor.cpp index a35f7c20..90bba364 100644 --- a/src/Compositor.cpp +++ b/src/Compositor.cpp @@ -379,7 +379,7 @@ void CCompositor::cleanEnvironment() { unsetenv("XDG_BACKEND"); unsetenv("XDG_CURRENT_DESKTOP"); - if (false /* TODO: */) { + if (m_pAqBackend->hasSession()) { const auto CMD = #ifdef USES_SYSTEMD "systemctl --user unset-environment DISPLAY WAYLAND_DISPLAY HYPRLAND_INSTANCE_SIGNATURE XDG_CURRENT_DESKTOP QT_QPA_PLATFORMTHEME PATH XDG_DATA_DIRS && hash "