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, });