mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-03 08:05: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);
|
Ui::ForceFullRepaint(this);
|
||||||
}, lifetime());
|
}, lifetime());
|
||||||
|
|
||||||
setAttribute(Qt::WA_NoSystemBackground);
|
|
||||||
setAttribute(Qt::WA_OpaquePaintEvent);
|
setAttribute(Qt::WA_OpaquePaintEvent);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -227,6 +226,8 @@ void MainWindow::finishFirstShow() {
|
|||||||
) | rpl::start_with_next([=] {
|
) | rpl::start_with_next([=] {
|
||||||
Ui::Tooltip::Hide();
|
Ui::Tooltip::Hide();
|
||||||
}, lifetime());
|
}, lifetime());
|
||||||
|
|
||||||
|
setAttribute(Qt::WA_NoSystemBackground);
|
||||||
}
|
}
|
||||||
|
|
||||||
void MainWindow::clearWidgetsHook() {
|
void MainWindow::clearWidgetsHook() {
|
||||||
|
Reference in New Issue
Block a user