2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

fixup! Use more sources for DE detection

This commit is contained in:
Ilya Fedin
2022-01-08 11:30:26 +04:00
committed by John Preston
parent b3bb1a537c
commit a3d84f69ea

View File

@@ -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<Type> Compute() {