mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-02 15:35:51 +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() {
|
QString GetWM() {
|
||||||
const auto value = base::Platform::GetWindowManager();
|
const auto result = Platform::GetWindowManager();
|
||||||
LOG(("Getting WM: '%1'").arg(value));
|
LOG(("Getting DE via WM: '%1'").arg(result));
|
||||||
return value;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
std::vector<Type> Compute() {
|
std::vector<Type> Compute() {
|
||||||
|
Reference in New Issue
Block a user