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

Don't delete RandR outputs and CRT controllers #284

Merged
merged 1 commit into from
Feb 20, 2024

Conversation

matt335672
Copy link
Member

Rebase of #283

This change doesn't delete outputs or CRT controllers when the screen configuration changes. Instead, the outputs are disconnected.

This emulates the behaviour of other virtual X servers (e.e. tigervnc) and prevents X applications from encountering BadRROutput or BadRRCtrc errors.

The following command can now be used to monitor RandR events generated by xorgxrdp. Previously it could fail with BadRROutput when reconnecting from a client with fewer screens.

xev -root -event randr [-display :xx]

This change doesn't delete outputs or CRT controllers when the
screen configuration changes. Instead, the outputs are disconnected.

This emulates the behaviour of other virtual X servers (e.e. tigervnc)
and prevents X applications from encountering BadRROutput or
BadRRCtrc errors.
@matt335672 matt335672 marked this pull request as ready for review February 8, 2024 16:36
@jsorg71
Copy link
Contributor

jsorg71 commented Feb 13, 2024

tested with 2 monitors, looks good to me

@matt335672
Copy link
Member Author

Thanks.

I'll probably pull it into the resize rework I'm doing at the moment then.

@metalefty metalefty merged commit 7edbe2b into neutrinolabs:devel Feb 20, 2024
8 checks passed
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.

None yet

3 participants