From e0ddaf9da15482e758d1817442521d491dd39504 Mon Sep 17 00:00:00 2001 From: Ilya Fedin Date: Sun, 7 Aug 2022 00:19:31 +0400 Subject: [PATCH] Fix enlargening the window by shadow margin when resotring position --- Telegram/SourceFiles/window/main_window.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Telegram/SourceFiles/window/main_window.cpp b/Telegram/SourceFiles/window/main_window.cpp index 0940c72ec..aed252e81 100644 --- a/Telegram/SourceFiles/window/main_window.cpp +++ b/Telegram/SourceFiles/window/main_window.cpp @@ -744,7 +744,7 @@ void MainWindow::initGeometry() { ).arg(geometry.y() ).arg(geometry.width() ).arg(geometry.height())); - setGeometry(geometry); + RpWidget::setGeometry(geometry); } void MainWindow::positionUpdated() {