diff --git a/Telegram/SourceFiles/core/launcher.cpp b/Telegram/SourceFiles/core/launcher.cpp index 883c985a74..4b04f8ed4c 100644 --- a/Telegram/SourceFiles/core/launcher.cpp +++ b/Telegram/SourceFiles/core/launcher.cpp @@ -11,6 +11,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL #include "platform/platform_specific.h" #include "base/platform/base_platform_info.h" #include "ui/main_queue_processor.h" +#include "ui/ui_utility.h" #include "core/crash_reports.h" #include "core/update_checker.h" #include "core/sandbox.h" @@ -268,9 +269,12 @@ int Launcher::exec() { return psCleanup(); } - // both are finished in Sandbox::closeApplication - Logs::start(this); // must be started before Platform is started - Platform::start(); // must be started before Sandbox is created + // Must be started before Platform is started. + Logs::start(this); + + // Must be started before Sandbox is created. + Platform::start(); + Ui::DisableCustomScaling(); auto result = executeApplication(); diff --git a/Telegram/lib_ui b/Telegram/lib_ui index e824bb2f6b..bc62f87f0e 160000 --- a/Telegram/lib_ui +++ b/Telegram/lib_ui @@ -1 +1 @@ -Subproject commit e824bb2f6bbfbc061506c07b879005a36a7025c1 +Subproject commit bc62f87f0ec7a0ef21ad4f676ef65cbb3d3631a4