mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-05 08:55:59 +00:00
Fix main window drag by title on macOS.
This commit is contained in:
@@ -114,6 +114,8 @@ MainWindow::MainWindow(not_null<Window::Controller*> controller)
|
||||
|
||||
if (Platform::WindowsNeedShadow()) {
|
||||
setAttribute(Qt::WA_TranslucentBackground);
|
||||
} else {
|
||||
setAttribute(Qt::WA_OpaquePaintEvent);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user