fix: Make sure to fetch window icons

Signed-off-by: Jacob Schlecht <dadadah@echoha.us>
This commit is contained in:
Jacob Schlecht 2026-04-17 22:32:18 -06:00
parent 7f8f0646a5
commit c1e9437835
1 changed files with 1 additions and 1 deletions

View File

@ -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) {