Skip to content

fix: restore non-resizable windows after desktopCapturer.getSources() on macOS - #54398

Merged
MarshallOfSound merged 1 commit into
45-x-yfrom
trop/45-x-y-bp-fix-restore-non-resizable-windows-after-desktopcapturer-getsources-on-macos-1790352911296
Sep 25, 2026
Merged

MarshallOfSound merged 1 commit into
45-x-yfrom
trop/45-x-y-bp-fix-restore-non-resizable-windows-after-desktopcapturer-getsources-on-macos-1790352911296

Conversation

@trop

@trop trop Bot commented Sep 25, 2026

Copy link
Copy Markdown
Contributor

Backport of #54360

See that PR for details.

Notes: Fixed desktopCapturer.getSources() leaving non-resizable windows resizable on macOS.

… on macOS

The ScreenCaptureKit workaround from #43013 recorded each window's
resizable state under an array key and looked it up by number, so the
restore step never ran. Key the map by window id and cover BaseWindow.

Co-authored-by: Shelley Vohr <[email protected]>
@trop
trop Bot requested a review from codebytere September 25, 2026 16:15
@trop trop Bot added 45-x-y backport This is a backport PR semver/patch backwards-compatible bug fixes labels Sep 25, 2026
@MarshallOfSound
MarshallOfSound enabled auto-merge (squash) September 25, 2026 16:22
@MarshallOfSound
MarshallOfSound merged commit 66b28a0 into 45-x-y Sep 25, 2026
90 checks passed
@MarshallOfSound
MarshallOfSound deleted the trop/45-x-y-bp-fix-restore-non-resizable-windows-after-desktopcapturer-getsources-on-macos-1790352911296 branch September 25, 2026 19:17
@release-clerk

release-clerk Bot commented Sep 25, 2026

Copy link
Copy Markdown

Release Notes Persisted

Fixed desktopCapturer.getSources() leaving non-resizable windows resizable on macOS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

45-x-y backport This is a backport PR semver/patch backwards-compatible bug fixes

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

1 participant