diff --git a/Telegram/SourceFiles/mainwindow.cpp b/Telegram/SourceFiles/mainwindow.cpp index 14573a41f..f09419b4d 100644 --- a/Telegram/SourceFiles/mainwindow.cpp +++ b/Telegram/SourceFiles/mainwindow.cpp @@ -114,6 +114,8 @@ MainWindow::MainWindow(not_null controller) if (Platform::WindowsNeedShadow()) { setAttribute(Qt::WA_TranslucentBackground); + } else { + setAttribute(Qt::WA_OpaquePaintEvent); } }