[Defaults] Native frame on Linux by default

This commit is contained in:
Eric Kotato 2022-09-11 06:29:07 +03:00 committed by Eric Kotato
parent 1b58a68ecb
commit 720cf8c130

View file

@ -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 "window/themes/window_themes_embedded.h"
#include "ui/widgets/input_fields.h"
@ -837,7 +838,7 @@ private:
rpl::variable<float64> _dialogsWidthRatio; // per-window
rpl::variable<int> _thirdColumnWidth = kDefaultThirdColumnWidth; // p-w
bool _notifyFromAll = true;
rpl::variable<bool> _nativeWindowFrame = false;
rpl::variable<bool> _nativeWindowFrame = Platform::IsLinux();
rpl::variable<std::optional<bool>> _systemDarkMode = std::nullopt;
rpl::variable<bool> _systemDarkModeEnabled = false;
WindowPosition _windowPosition; // per-window