scrcpy/server
Romain Vimont 03878083fb Reset capture on rotation (fix square displays)
`DisplayMonitor` previously only triggered a capture reset when the
display size changed. In most cases, rotation also changes dimensions,
so the behavior was correct… except for square displays where width and
height remain unchanged.

However, rotation still requires a capture reset even when dimensions do
not change, to ensure the orientation filter is applied so virtual
displays are rendered correctly.

To reproduce the issue:

    scrcpy --new-display=600x600 --start-app=com.android.settings

Then press Alt+r to rotate the Settings app.

PR #6770 <https://github.com/Genymobile/scrcpy/pull/6770>
2026-04-16 19:06:27 +02:00
..
scripts Use "/usr/bin/env bash" for build-wrapper.sh 2020-09-15 13:44:02 +02:00
src Reset capture on rotation (fix square displays) 2026-04-16 19:06:27 +02:00
.gitignore Convert server to an Android project 2018-01-30 12:01:36 +01:00
build.gradle Upgrade AGP (9.1.0) and Gradle (9.3.1) 2026-03-24 20:56:19 +01:00
build_without_gradle.sh Bump version to 3.3.4 2025-12-17 19:57:50 +01:00
meson.build Set icon and server env paths for meson devenv 2024-12-12 18:15:26 +01:00
proguard-rules.pro Convert server to an Android project 2018-01-30 12:01:36 +01:00