core: Preserve existing XDG_CURRENT_DESKTOP (#7347)

* Preserve existing XDG_CURRENT_DESKTOP

* fix

---------

Co-authored-by: vaxerski <vaxry@vaxry.net>
This commit is contained in:
Vladimir-csp 2024-08-15 19:14:48 +03:00 committed by GitHub
parent 520e91238f
commit 15f942000e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 7 additions and 2 deletions

View file

@ -91,6 +91,7 @@ class CCompositor {
bool m_bNextIsUnsafe = false;
CMonitor* m_pUnsafeOutput = nullptr; // fallback output for the unsafe state
bool m_bIsShuttingDown = false;
bool m_bDesktopEnvSet = false;
// ------------------------------------------------- //