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

Find a better way to identify resizeable outputs #291

Open
any1 opened this issue Feb 18, 2024 · 0 comments
Open

Find a better way to identify resizeable outputs #291

any1 opened this issue Feb 18, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@any1
Copy link
Owner

any1 commented Feb 18, 2024

Currently, we check if the name starts with "HEADLESS-". If it does, we assume that it's possible to set a custom mode on the output and set it according to the client's wishes.

The problem with identifying headless outputs in this manner is that an output can be named pretty much anything, although they're named "HEADLESS-something" most of the time. It seems that we will need to extend either wlr-output-management-v1 or wl_output to provide hints about the output type: something that tells us if it's a physical or virtual output.

A better, albeit more difficult, solution would be to create a completely new protocol to create virtual outputs. Then wayvnc can just create its own headless outputs and therefor knows which outputs are headless. It is then also clear that these outputs are managed by wayvnc.

@any1 any1 added the enhancement New feature or request label Feb 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant