From 37cf12f06e0338ecf3b7d8b5c20532a76383f432 Mon Sep 17 00:00:00 2001 From: John Preston Date: Thu, 2 Feb 2023 22:10:44 +0400 Subject: [PATCH] Beta version 4.5.9: Fix new window position. --- Telegram/SourceFiles/window/main_window.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Telegram/SourceFiles/window/main_window.cpp b/Telegram/SourceFiles/window/main_window.cpp index a38ed598d..2e2e8c9fe 100644 --- a/Telegram/SourceFiles/window/main_window.cpp +++ b/Telegram/SourceFiles/window/main_window.cpp @@ -653,8 +653,8 @@ WindowPosition MainWindow::nextInitialChildPosition(bool primary) { const auto use = position + (skip * _lastChildIndex); return withScreenInPosition({ .scale = cScale(), - .x = position.x(), - .y = position.y(), + .x = use.x(), + .y = use.y(), .w = width, .h = height, });