mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-11-18 20:36:04 +00:00
gamescope's display is sized once when the session starts and cannot change, but the size was recomputed on every surfaceCreated. A foldable recreates the Surface on the other panel, so a session started on the 21:9 outer screen and opened onto the square inner one told the compositor its 21:9 buffer was 16:9 and the picture came back squashed sideways. While a session runs its size is kept; the compositor letterboxes it onto whatever panel is current. Also the Compose build: BoxWithConstraints' maxWidth read outside its scope.