mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-18 07:07:08 +02:00
Fix window move by title on macOS.
This commit is contained in:
parent
663c99cc2d
commit
ae30366cbf
1 changed files with 2 additions and 1 deletions
|
@ -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() {
|
||||
|
|
Loading…
Add table
Reference in a new issue