From a054fc27ed531cf55aefc3a20f499168e8dc908d Mon Sep 17 00:00:00 2001 From: RadRussianRus Date: Sun, 11 Sep 2022 06:29:07 +0300 Subject: [PATCH] [Defaults] Native frame on Linux by default --- Telegram/SourceFiles/core/core_settings.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Telegram/SourceFiles/core/core_settings.h b/Telegram/SourceFiles/core/core_settings.h index 351a6a40c..25e798305 100644 --- a/Telegram/SourceFiles/core/core_settings.h +++ b/Telegram/SourceFiles/core/core_settings.h @@ -7,6 +7,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL */ #pragma once +#include "base/platform/base_platform_info.h" #include "core/core_settings_proxy.h" #include "media/media_common.h" #include "window/themes/window_themes_embedded.h" @@ -927,7 +928,7 @@ private: rpl::variable _dialogsWidthRatio; // per-window rpl::variable _thirdColumnWidth = kDefaultThirdColumnWidth; // p-w bool _notifyFromAll = true; - rpl::variable _nativeWindowFrame = false; + rpl::variable _nativeWindowFrame = Platform::IsLinux(); rpl::variable> _systemDarkMode = std::nullopt; rpl::variable _systemDarkModeEnabled = false; rpl::variable _windowTitleContent;