Fix window move by title on macOS.

This commit is contained in:
John Preston 2021-07-29 15:30:13 +03:00
parent 663c99cc2d
commit ae30366cbf
1 changed files with 2 additions and 1 deletions

View File

@ -113,7 +113,6 @@ MainWindow::MainWindow(not_null<Window::Controller*> controller)
Ui::ForceFullRepaint(this);
}, lifetime());
setAttribute(Qt::WA_NoSystemBackground);
setAttribute(Qt::WA_OpaquePaintEvent);
}
@ -227,6 +226,8 @@ void MainWindow::finishFirstShow() {
) | rpl::start_with_next([=] {
Ui::Tooltip::Hide();
}, lifetime());
setAttribute(Qt::WA_NoSystemBackground);
}
void MainWindow::clearWidgetsHook() {