Screenshot of a test case which toggles windowed fullscreen several times, then the window commits in response to each, and we verify the state in between.
https://files.mastodon.online/media_attachments/files/114/181/990/959/218/065/original/765e9ba639479b79.png