MCPcopy Create free account
hub / github.com/TDesktop-x64/tdesktop / activeWindow

Method activeWindow

Telegram/SourceFiles/core/application.cpp:1510–1512  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1508}
1509
1510Window::Controller *Application::activeWindow() const {
1511 return _lastActiveWindow;
1512}
1513
1514bool Application::closeNonLastAsync(not_null<Window::Controller*> window) {
1515 const auto hasOther = [&] {

Callers 15

toggleHistoryArchivedMethod · 0.80
DefaultPositionFunction · 0.80
moveToScreenMethod · 0.80
switchToPipMethod · 0.80
botHandleMenuButtonMethod · 0.80
confirmAddToMenuMethod · 0.80
initialPositionMethod · 0.80
setupShortcutsMethod · 0.80
PeerMenuTodoWantsPremiumFunction · 0.80
ShowPeerInfoSyncFunction · 0.80
ResolveLoginCodeFunction · 0.80

Calls

no outgoing calls

Tested by 2

AutostartToggleFunction · 0.64
PortalAutostartFunction · 0.64