diff options
| author | nyx <nnyyxxxx@protonmail.com> | 2025-02-12 08:54:42 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-02-12 13:54:42 +0000 |
| commit | 68bb3e7f0a1d528a8b2da1f92d2005889587561d (patch) | |
| tree | d3e783b575b4b5eef6cee70bd1b96be78b846572 /src/main.cpp | |
| parent | f83fe9986b34c53c67b113a015d54fe8c084e9bd (diff) | |
env: move XDG_SESSION_TYPE to before backend init (#9390)
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 1 |
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); |
