Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
1510
Window::Controller *Application::activeWindow() const {
1511
return _lastActiveWindow;
1512
}
1513
1514
bool Application::closeNonLastAsync(not_null<Window::Controller*> window) {
1515
const auto hasOther = [&] {
Callers
15
toggleHistoryArchived
Method · 0.80
DefaultPosition
Function · 0.80
moveToScreen
Method · 0.80
switchToPip
Method · 0.80
updatePowerSaveBlocker
Method · 0.80
botHandleMenuButton
Method · 0.80
confirmAddToMenu
Method · 0.80
initialPosition
Method · 0.80
setupShortcuts
Method · 0.80
PeerMenuTodoWantsPremium
Function · 0.80
ShowPeerInfoSync
Function · 0.80
ResolveLoginCode
Function · 0.80
Calls
no outgoing calls
Tested by
2
AutostartToggle
Function · 0.64
PortalAutostart
Function · 0.64