Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TDesktop-x64/tdesktop
/ hasActiveWindow
Method
hasActiveWindow
Telegram/SourceFiles/iv/iv_instance.cpp:1730–1732 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1728
}
1729
1730
bool Instance::hasActiveWindow(not_null<Main::Session*> session) const {
1731
return _shown && _shown->activeFor(session);
1732
}
1733
1734
bool Instance::closeActive() {
1735
if (_shown && _shown->active()) {
Callers
1
updateOnline
Method · 0.45
Calls
1
activeFor
Method · 0.80
Tested by
no test coverage detected