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