Disable custom scaling by envvar.

This commit is contained in:
John Preston 2019-10-13 12:54:38 +04:00
parent b880d4aa30
commit 85acdbc7ed
2 changed files with 8 additions and 4 deletions

View file

@ -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();

@ -1 +1 @@
Subproject commit e824bb2f6bbfbc061506c07b879005a36a7025c1
Subproject commit bc62f87f0ec7a0ef21ad4f676ef65cbb3d3631a4