diff --git a/src/native/window.ts b/src/native/window.ts index caac3df..50db9ad 100644 --- a/src/native/window.ts +++ b/src/native/window.ts @@ -193,7 +193,7 @@ export function createMainWindow() { session.defaultSession.setDisplayMediaRequestHandler( (request, callback) => { desktopCapturer - .getSources({ types: ["screen", "window"] }) + .getSources({ types: ["screen", "window"], fetchWindowIcons: true }) .then((sources) => { // Shortcut for linux wayland. if (sources.length == 1) {