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:
@@ -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() {
|
||||
|
Reference in New Issue
Block a user