summaryrefslogtreecommitdiff
path: root/src/Compositor.cpp
diff options
context:
space:
mode:
authornyx <nnyyxxxx@protonmail.com>2025-02-12 08:54:42 -0500
committerGitHub <noreply@github.com>2025-02-12 13:54:42 +0000
commit68bb3e7f0a1d528a8b2da1f92d2005889587561d (patch)
treed3e783b575b4b5eef6cee70bd1b96be78b846572 /src/Compositor.cpp
parentf83fe9986b34c53c67b113a015d54fe8c084e9bd (diff)
env: move XDG_SESSION_TYPE to before backend init (#9390)
Diffstat (limited to 'src/Compositor.cpp')
-rw-r--r--src/Compositor.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/Compositor.cpp b/src/Compositor.cpp
index 88a2530b..6d9e8d7e 100644
--- a/src/Compositor.cpp
+++ b/src/Compositor.cpp
@@ -386,7 +386,6 @@ void CCompositor::initServer(std::string socketName, int socketFd) {
}
setenv("WAYLAND_DISPLAY", m_szWLDisplaySocket.c_str(), 1);
- setenv("XDG_SESSION_TYPE", "wayland", 1);
if (!getenv("XDG_CURRENT_DESKTOP")) {
setenv("XDG_CURRENT_DESKTOP", "Hyprland", 1);
m_bDesktopEnvSet = true;