mirror of
https://github.com/Genymobile/scrcpy.git
synced 2025-12-18 14:04:20 +01:00
Add option to specify the initial window position
Add --window-x and --window-y parameters. Signed-off-by: Romain Vimont <rom@rom1v.com>
This commit is contained in:
committed by
Romain Vimont
parent
771bd8404d
commit
ce5635f28c
@@ -387,7 +387,8 @@ scrcpy(const struct scrcpy_options *options) {
|
||||
options->window_title ? options->window_title : device_name;
|
||||
|
||||
if (!screen_init_rendering(&screen, window_title, frame_size,
|
||||
options->always_on_top)) {
|
||||
options->always_on_top, options->window_x,
|
||||
options->window_y)) {
|
||||
goto end;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user