MCPcopy 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
1730bool Instance::hasActiveWindow(not_null<Main::Session*> session) const {
1731 return _shown && _shown->activeFor(session);
1732}
1733
1734bool Instance::closeActive() {
1735 if (_shown && _shown->active()) {

Callers 1

updateOnlineMethod · 0.45

Calls 1

activeForMethod · 0.80

Tested by

no test coverage detected