**System Information**
Operating system: Linux-5.15.0-53-generic-x86_64-with-glibc2.35 64 Bits
Graphics card: NVIDIA GeForce GTX 1070/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 470.141.03
**Blender Version**
Broken: version: 3.4.0 Alpha, branch: master, commit date: 2022-10-15 21:11, hash: `rBb898330c3744`
Broken: version: 3.3.0, branch: master, commit date: 2022-09-06 15:39, hash: `rB0759f671ce1f`
**Short description of error**
Pin Scene to Workspace doesn't work
**Exact steps for others to reproduce the error**
Open file, observe that scene.002 is active and pined.
{F13972084}
Switch to Modeling tab then back to Layout.
Observe that instead of scene.002, scene.001 is active.
NOTE: this is only failing with multiple blender windows open (if the second window is closed, it works as expected)