experiments in a post-browser web
10
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix(hud): show active window info in HUD window widget

- Include internal peek:// windows in list so focused window is always findable
- Skip non-focusable windows (HUD overlay) in focus tracking

+5 -1
+4
backend/electron/ipc.ts
··· 247 247 if (url === 'peek://app/background.html' || url === 'peek://app/extension-host.html') { 248 248 return; 249 249 } 250 + // Exclude non-focusable windows (e.g., HUD overlay) 251 + if (!win.isFocusable()) { 252 + return; 253 + } 250 254 // Track extension windows (peek://{id}/...) and web pages 251 255 lastFocusedVisibleWindowId = win.id; 252 256 DEBUG && console.log('Updated lastFocusedVisibleWindowId:', lastFocusedVisibleWindowId, url);
+1 -1
extensions/hud/widgets/window.js
··· 24 24 const refreshWindowInfo = async () => { 25 25 try { 26 26 const [windowsResult, focusedWindowId] = await Promise.all([ 27 - api.window.list(), 27 + api.window.list({ includeInternal: true }), 28 28 api.window.getFocusedVisibleWindowId() 29 29 ]); 30 30