MCPcopy
hub / github.com/ZToolsCenter/ZTools / DetachedWindowInfo

Interface DetachedWindowInfo

src/main/core/detachedWindowManager.ts:26–35  ·  view source on GitHub ↗

* 分离窗口信息

Source from the content-addressed store, hash-verified

24 * 分离窗口信息
25 */
26interface DetachedWindowInfo {
27 window: BrowserWindow
28 view: WebContentsView
29 pluginPath: string
30 pluginName: string
31 pluginLogo?: string
32 isAlwaysOnTop: boolean
33 lastFocusTarget: 'titlebar' | 'plugin' // 记录最后一次焦点位置,用于窗口恢复
34 savedFocusTarget: 'titlebar' | 'plugin' // 窗口失焦时快照的焦点状态
35}
36
37/**
38 * 分离窗口管理器 - 专门管理从主窗口分离出来的插件窗口

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected