mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-07 23:51:55 -07:00
env: move XDG_SESSION_TYPE to before backend init (#9390)
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user