diff --git a/Telegram/SourceFiles/window/main_window.cpp b/Telegram/SourceFiles/window/main_window.cpp index fa177a3e08..6c5fe237e6 100644 --- a/Telegram/SourceFiles/window/main_window.cpp +++ b/Telegram/SourceFiles/window/main_window.cpp @@ -377,12 +377,6 @@ void MainWindow::updateShadowSize() { } void MainWindow::recountGeometryConstraints() { -#ifdef Q_OS_LINUX - const auto hasShadow = this->hasShadow(); - setWindowFlag(Qt::NoDropShadowWindowHint, hasShadow); - setAttribute(Qt::WA_OpaquePaintEvent, !hasShadow); -#endif // Q_OS_LINUX - updateShadowSize(); updateMinimumSize(); updateControlsGeometry();