diff --git a/Telegram/SourceFiles/messenger.cpp b/Telegram/SourceFiles/messenger.cpp index f4d0f8d2fc..d7043c3e2f 100644 --- a/Telegram/SourceFiles/messenger.cpp +++ b/Telegram/SourceFiles/messenger.cpp @@ -130,7 +130,9 @@ Messenger::Messenger() : QObject() _window->createWinId(); _window->init(); + auto currentGeometry = _window->geometry(); _mediaView = std::make_unique(); + _window->setGeometry(currentGeometry); QCoreApplication::instance()->installEventFilter(this); Sandbox::connect(SIGNAL(applicationStateChanged(Qt::ApplicationState)), this, SLOT(onAppStateChanged(Qt::ApplicationState)));