Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/anomalyco/opencode
/ getWindowID
Function
getWindowID
packages/desktop/src/main/windows.ts:124–126 ·
view source on GitHub ↗
(win: BrowserWindow)
Source
from the content-addressed store, hash-verified
122
}
123
124
export
function
getWindowID(win: BrowserWindow) {
125
return
windowIDs.get(win)
126
}
127
128
export
function
getLastFocusedWindow() {
129
const
focused = BrowserWindow.getFocusedWindow()
Callers
1
registerIpcHandlers
Function · 0.90
Calls
1
get
Method · 0.65
Tested by
no test coverage detected