-
-
Notifications
You must be signed in to change notification settings - Fork 12.8k
Description
- I have checked that a similar feature request does not already exist.
I’m looking for a feature similar to Waydroid’s multi-window mode on desktop, but for use with a physical device. This would bypass the need for full emulation and avoid Waydroid’s compatibility issues.
Currently, scrcpy partially supports this by allowing launching apps into new virtual displays without system decorations (or desktop mode). However, the app or virtual display does not resize when the window is resized.
I’m not sure if resizing virtual displays is even possible or if an entirely different approach would be better, but if virtual displays are still to be used but yet they can not be resized at runtime, a possible approach would be to 1. Make the virtual display the size of the host display. 2. Resize the app window (eg. in desktop mode) to match the host window size. 3. Crop the stream to the app window’s bounding box, showing only the app content in the resized window.