summaryrefslogtreecommitdiff
path: root/src/main.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/main.cpp
parentf83fe9986b34c53c67b113a015d54fe8c084e9bd (diff)
env: move XDG_SESSION_TYPE to before backend init (#9390)
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 464ed978..397d7463 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -43,6 +43,7 @@ int main(int argc, char** argv) {
setenv("HYPRLAND_CMD", cmd.c_str(), 1);
setenv("XDG_BACKEND", "wayland", 1);
+ setenv("XDG_SESSION_TYPE", "wayland", 1);
setenv("_JAVA_AWT_WM_NONREPARENTING", "1", 1);
setenv("MOZ_ENABLE_WAYLAND", "1", 1);