mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-02 15:35:51 +00:00
Open specific chat only in one window.
This commit is contained in:
@@ -43,7 +43,7 @@ namespace {
|
||||
|
||||
QPoint notificationStartPosition() {
|
||||
const auto corner = Core::App().settings().notificationsCorner();
|
||||
const auto window = Core::App().activeWindow();
|
||||
const auto window = Core::App().primaryWindow();
|
||||
const auto r = window
|
||||
? window->widget()->desktopRect()
|
||||
: QGuiApplication::primaryScreen()->availableGeometry();
|
||||
|
Reference in New Issue
Block a user