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

Track window activation history.

This commit is contained in:
John Preston
2023-02-03 20:48:12 +04:00
parent bbd937115c
commit c737e2f91b
3 changed files with 46 additions and 11 deletions

View File

@@ -397,6 +397,7 @@ private:
base::flat_map<
not_null<History*>,
std::unique_ptr<Window::Controller>> _secondaryWindows;
std::vector<not_null<Window::Controller*>> _windowStack;
Window::Controller *_lastActiveWindow = nullptr;
Window::Controller *_lastActivePrimaryWindow = nullptr;
Window::Controller *_windowInSettings = nullptr;