2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-05 08:55:59 +00:00

Fix main window drag by title on macOS.

This commit is contained in:
John Preston
2020-08-18 20:17:59 +04:00
parent 41c98a6c49
commit ebf8a20d0d

View File

@@ -114,6 +114,8 @@ MainWindow::MainWindow(not_null<Window::Controller*> controller)
if (Platform::WindowsNeedShadow()) {
setAttribute(Qt::WA_TranslucentBackground);
} else {
setAttribute(Qt::WA_OpaquePaintEvent);
}
}