Apply requested window size in OTG mode

Fixes #3099 <https://github.com/Genymobile/scrcpy/issues/3099>
PR #3219 <https://github.com/Genymobile/scrcpy/pull/3219>
This commit is contained in:
Romain Vimont
2022-04-25 18:44:42 +02:00
parent c6d9711109
commit fc8942aa03
3 changed files with 11 additions and 2 deletions

View File

@@ -29,6 +29,8 @@ struct sc_screen_otg_params {
bool always_on_top;
int16_t window_x; // accepts SC_WINDOW_POSITION_UNDEFINED
int16_t window_y; // accepts SC_WINDOW_POSITION_UNDEFINED
uint16_t window_width;
uint16_t window_height;
bool window_borderless;
};