mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-11-11 02:51:10 +00:00
A foldable opening or closing resizes the Surface rather than recreating it. The compositor's swapchain, built for the old size, kept presenting, and the system scaled those buffers onto the new window — on a Fold a 16:9 picture came back stretched to the square panel, the same width and 2.09x the height. Rebinding the window on a size change rebuilds the swapchain at the new size, and the fit mode letterboxes as it should.