From a3d84f69ea956919b17b70659ec8d98d5dcd214e Mon Sep 17 00:00:00 2001 From: Ilya Fedin Date: Sat, 8 Jan 2022 11:30:26 +0400 Subject: [PATCH] fixup! Use more sources for DE detection --- .../platform/linux/linux_desktop_environment.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Telegram/SourceFiles/platform/linux/linux_desktop_environment.cpp b/Telegram/SourceFiles/platform/linux/linux_desktop_environment.cpp index a7a66e963..4f1c0cdd3 100644 --- a/Telegram/SourceFiles/platform/linux/linux_desktop_environment.cpp +++ b/Telegram/SourceFiles/platform/linux/linux_desktop_environment.cpp @@ -20,9 +20,9 @@ QString GetEnv(const char *name) { } QString GetWM() { - const auto value = base::Platform::GetWindowManager(); - LOG(("Getting WM: '%1'").arg(value)); - return value; + const auto result = Platform::GetWindowManager(); + LOG(("Getting DE via WM: '%1'").arg(result)); + return result; } std::vector Compute() {