From 5e87c91ba0c9a0a82fe5bfddd04854dcd5247d2b Mon Sep 17 00:00:00 2001 From: Ovgodd Date: Wed, 7 Oct 2026 14:33:06 +0200 Subject: [PATCH] =?UTF-8?q?fixup!=20=E2=9C=A8(frontend)=20free=20the=20mee?= =?UTF-8?q?ting=20layout=20while=20a=20screen=20share=20is=20popped=20out?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/frontend/src/features/layout/components/StageLayout.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/frontend/src/features/layout/components/StageLayout.tsx b/src/frontend/src/features/layout/components/StageLayout.tsx index a6a01a001..26158ba9e 100644 --- a/src/frontend/src/features/layout/components/StageLayout.tsx +++ b/src/frontend/src/features/layout/components/StageLayout.tsx @@ -139,6 +139,8 @@ export const StageLayout = () => { // The popped-out tile is kept mounted below, so nothing else notices when // the share stops. Close the window here instead. + // The snapshot above is for the layout. Here we read the store itself, + // to get the window that's open at this moment. useEffect(() => { const entry = screenSharePopoutStore.entry if (!entry) return