From 241be89e5cb1fc718def65e55eeca7d933fa00fa Mon Sep 17 00:00:00 2001 From: Ilya Fedin Date: Thu, 12 Jan 2023 19:05:56 +0400 Subject: [PATCH] Enable the new experimental setting for Linux --- Telegram/SourceFiles/core/launcher.cpp | 2 +- Telegram/build/docker/centos_env/Dockerfile | 3 +-- snap/snapcraft.yaml | 1 - 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/Telegram/SourceFiles/core/launcher.cpp b/Telegram/SourceFiles/core/launcher.cpp index ee1cb5904b..80ea2fdb4f 100644 --- a/Telegram/SourceFiles/core/launcher.cpp +++ b/Telegram/SourceFiles/core/launcher.cpp @@ -277,7 +277,7 @@ base::options::toggle OptionFractionalScalingEnabled({ .id = kOptionFractionalScalingEnabled, .name = "Enable precise High DPI scaling", .description = "Follow system interface scale settings exactly.", - .scope = base::options::windows, + .scope = base::options::windows | base::options::linux, .restartRequired = true, }); diff --git a/Telegram/build/docker/centos_env/Dockerfile b/Telegram/build/docker/centos_env/Dockerfile index 138e8f56d1..e51bc4cfe4 100644 --- a/Telegram/build/docker/centos_env/Dockerfile +++ b/Telegram/build/docker/centos_env/Dockerfile @@ -56,7 +56,7 @@ ENV CXXFLAGS $CFLAGS FROM builder AS patches RUN git clone {{ GIT }}/desktop-app/patches.git \ && cd patches \ - && git checkout 614ff3aebd \ + && git checkout 6df6441445 \ && rm -rf .git FROM builder AS nasm @@ -713,7 +713,6 @@ RUN git clone -b {{ QT_TAG }} --depth=1 git://code.qt.io/qt/qt5.git qt_{{ QT }} -no-icu \ -no-feature-xcb-sm \ -no-feature-egl-extension-platform-wayland \ - -no-feature-highdpiscaling \ -static \ -dbus-runtime \ -openssl-linked \ diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index d92d9516fb..e590d10a87 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -468,7 +468,6 @@ parts: -no-feature-renameat2 \ -no-feature-statx \ -no-feature-egl-extension-platform-wayland \ - -no-feature-highdpiscaling \ -openssl-linked \ -nomake examples \ -nomake tests