2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Save IV window geometry.

This commit is contained in:
John Preston
2024-03-23 12:42:22 +04:00
parent d9ed3a7d3f
commit fd833dff35
15 changed files with 271 additions and 13 deletions

View File

@@ -47,6 +47,7 @@ class Session;
namespace Iv {
class Instance;
class DelegateImpl;
} // namespace Iv
namespace Ui {
@@ -165,6 +166,8 @@ public:
bool hasActiveWindow(not_null<Main::Session*> session) const;
[[nodiscard]] bool savingPositionFor(
not_null<Window::Controller*> window) const;
[[nodiscard]] Window::Controller *findWindow(
not_null<QWidget*> widget) const;
[[nodiscard]] Window::Controller *activeWindow() const;
[[nodiscard]] Window::Controller *activePrimaryWindow() const;
[[nodiscard]] Window::Controller *separateWindowForAccount(