| 1001 | } |
| 1002 | |
| 1003 | void Application::handleAppDeactivated() { |
| 1004 | enumerateWindows([&](not_null<Window::Controller*> w) { |
| 1005 | w->updateIsActiveBlur(); |
| 1006 | }); |
| 1007 | const auto session = _lastActiveWindow |
| 1008 | ? _lastActiveWindow->maybeSession() |
| 1009 | : nullptr; |
| 1010 | if (session) { |
| 1011 | session->updates().updateOnline(); |
| 1012 | } |
| 1013 | Ui::Tooltip::Hide(); |
| 1014 | } |
| 1015 | |
| 1016 | rpl::producer<bool> Application::appDeactivatedValue() const { |
| 1017 | const auto &app |
nothing calls this directly
no test coverage detected