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

Fix #3 #4

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Fix #3 #4

wants to merge 2 commits into from

Conversation

rdoursenaud
Copy link

Commit ee9f6f4 contains a few fixes suggested by CLion static analysis.
Feel free to not include them if you don't feel like it.

Commit 53a17d2 contains the logic changes presented in #3 (comment).

@smclt30p
Copy link
Member

I will test this once I get home later today with my X220, It should work from the looks of it. Thanks for the PR! :)

@smclt30p
Copy link
Member

smclt30p commented Jan 17, 2018 via email

* Step 4: Apply the screen configuration
* Step 2: Parse the crtc configuration
* Step 3: Disable all crts
* Step 4: Resize the screen
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The screen size must be set AFTER altering the crtc config in any way.

So disable configs, set screen size, enable configs, set screen size

@rdoursenaud
Copy link
Author

Yes, something's wrong even on my system.
It was a late night quick and dirty hack ;)
I'll try and have a better look ASAP.

@smclt30p
Copy link
Member

smclt30p commented Jan 31, 2018 via email

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.

2 participants