mirror of
https://github.com/Genymobile/scrcpy.git
synced 2026-04-21 01:33:36 +00:00
So far, scrcpy always resized the window whenever a frame with a new size was received. However, with the upcoming "flex display" feature, the size of the virtual display can change either on its own (e.g., due to app rotation) or as a result of a client window resize. Track the cause of each resize and signal it in the session metadata. Resize the window only if the change was not triggered by a client request to prevent resize loops and stuttering. |
||
|---|---|---|
| .. | ||
| scripts | ||
| src | ||
| .gitignore | ||
| build.gradle | ||
| build_without_gradle.sh | ||
| meson.build | ||
| proguard-rules.pro | ||