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
1 changed files with 2 additions and 0 deletions

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);
}
}