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

@@ -162,6 +162,8 @@ scrcpy_otg(struct scrcpy_options *options) {
.always_on_top = options->always_on_top,
.window_x = options->window_x,
.window_y = options->window_y,
.window_width = options->window_width,
.window_height = options->window_height,
.window_borderless = options->window_borderless,
};