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. |
||
|---|---|---|
| .. | ||
| frame_sink.h | ||
| frame_source.c | ||
| frame_source.h | ||
| gamepad_processor.h | ||
| key_processor.h | ||
| mouse_processor.h | ||
| packet_sink.h | ||
| packet_source.c | ||
| packet_source.h | ||