Genymobile / scrcpy

Display and control your Android device
Apache License 2.0
112.94k stars 10.78k forks source link

automatic resizing #5241

Open radicalrusty opened 3 months ago

radicalrusty commented 3 months ago

Hi, I'm just wondering if there's been any update on this. It would be nice if it were possible to add an option to automatically resize the window to match the actual screen size of the device. The current resizing is kind of a pain for window management because you have to manually resize the window every time.

Alternatively, maybe there could be an easy way to lock the minumum size that a window could be (according to the actual screen size of the device) so that manual elimination of the black bars isn't as much of a chore. I realize that you can double click the black bars to make them go away, but this doesn't really help since the window gets resized again when I try to use window snapping.

I'm on Pop os btw

me2sy commented 2 months ago

Try MYScrcpy see if it meets your requirements. https://github.com/me2sy/MYScrcpy

Charlignon commented 1 month ago

I would like an option like that as well ! It could just be a call to resize_for_content() after every resize event, with debounce/throttle so it doesn't call every frame