Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add --no-vd-destroy-content #5615

Merged
merged 2 commits into from
Dec 8, 2024
Merged

Add --no-vd-destroy-content #5615

merged 2 commits into from
Dec 8, 2024

Conversation

rom1v
Copy link
Collaborator

@rom1v rom1v commented Dec 5, 2024

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 closd, the running apps are moved to the main display rather than being destroyed.

rom1v added 2 commits December 8, 2024 09:26
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>
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>
@rom1v rom1v force-pushed the no_vd_destroy_content branch from 5bc465a to 6c6607d Compare December 8, 2024 08:34
@rom1v rom1v merged commit 6c6607d into dev Dec 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant