Skip to content

Commit 1a9e8c1

Browse files
fix(desktop): restrict Chrome title fallback to captured process
1 parent 21d3560 commit 1a9e8c1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎apps/desktop/src/snapShot/SnapShotAccessibility.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ async function readCapturedWindowAccessibility(
135135
bounds: active.bounds,
136136
clientBounds: active.clientBounds,
137137
platform,
138-
bundleId: active.owner.bundleId,
138+
bundleId: pidWindows.length > 0 ? active.owner.bundleId : undefined,
139139
};
140140
const window = findAccessibleWindow(
141141
pidWindows.length > 0 || foreground !== undefined ? pidWindows : await windowsFromAppList(App),

0 commit comments

Comments
 (0)