mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-02 07:35:12 +00:00
Fix window move by title on macOS.
This commit is contained in:
@@ -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() {
|
||||
|
Reference in New Issue
Block a user