2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 14:45:14 +00:00

Read decoration layout property from gtk

This commit is contained in:
Ilya Fedin
2020-07-18 09:06:29 +04:00
committed by John Preston
parent 9e0b046213
commit 841908fe31
11 changed files with 218 additions and 4 deletions

View File

@@ -418,6 +418,17 @@ bool AutostartSupported() {
return !IsWindowsStoreBuild();
}
Window::ControlsLayout WindowControlsLayout() {
Window::ControlsLayout controls;
controls.right = {
Window::Control::Minimize,
Window::Control::Maximize,
Window::Control::Close,
};
return controls;
}
} // namespace Platform
namespace {