Add --no-vd-destroy-content by rom1v · Pull Request #5615 · Genymobile/scrcpy (original) (raw)

added 2 commits

December 8, 2024 09:26

@rom1v

On --no-vd-system-decoration, the boolean option must be set to false.

It was wrongly assigned from optarg (this worked because optarg is NULL at this point, so it was converted to false).

PR #5615 <#5615>

@rom1v

Add an option to disable the following flag for virtual displays:

DisplayManager.VIRTUAL_DISPLAY_FLAG_DESTROY_CONTENT_ON_REMOVAL

With this option, when the virtual display is closed, the running apps are moved to the main display rather than being destroyed.

PR #5615 <#5615>

bartsaintgermain pushed a commit to bartsaintgermain/scrcpy that referenced this pull request

Apr 11, 2025

@rom1v

On --no-vd-system-decoration, the boolean option must be set to false.

It was wrongly assigned from optarg (this worked because optarg is NULL at this point, so it was converted to false).

PR Genymobile#5615 <Genymobile#5615>

bartsaintgermain pushed a commit to bartsaintgermain/scrcpy that referenced this pull request

Apr 11, 2025

@rom1v

Add an option to disable the following flag for virtual displays:

DisplayManager.VIRTUAL_DISPLAY_FLAG_DESTROY_CONTENT_ON_REMOVAL

With this option, when the virtual display is closed, the running apps are moved to the main display rather than being destroyed.

PR Genymobile#5615 <Genymobile#5615>

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters

[ Show hidden characters]({{ revealButtonHref }})