From 1e7117dd674e81ddd178683f7011b2a29b513950 Mon Sep 17 00:00:00 2001 From: Ilya Fedin Date: Sun, 14 Aug 2022 10:46:49 +0400 Subject: [PATCH] Revert "Fix enlargening the window by shadow margin when resotring position" This reverts commit e0ddaf9da15482e758d1817442521d491dd39504. --- Telegram/SourceFiles/window/main_window.cpp | 2 +- Telegram/lib_ui | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Telegram/SourceFiles/window/main_window.cpp b/Telegram/SourceFiles/window/main_window.cpp index aed252e81..0940c72ec 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())); - RpWidget::setGeometry(geometry); + setGeometry(geometry); } void MainWindow::positionUpdated() { diff --git a/Telegram/lib_ui b/Telegram/lib_ui index 6732aa70e..180b0bc51 160000 --- a/Telegram/lib_ui +++ b/Telegram/lib_ui @@ -1 +1 @@ -Subproject commit 6732aa70e94202f0d7f135e45a89ba65e6c5c287 +Subproject commit 180b0bc51796dcbe5d9371280e49fda24dfaf0fd