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

lxqtbacklight: read brightness instead of actual_brightness for raw drivers #264

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

hch12907
Copy link

Closes #263

Whether this is a correct fix remains to be seen, as currently all my Linux computers I have on my hand are using raw type drivers, and I have nothing else to test the fix with.

if( in == NULL ) {
return -1;
}
char type[1024];
Copy link
Author

Choose a reason for hiding this comment

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

1024 is probably overkill here, but the same value is used in lxqt_backlight_backend_get_driver() as well.

@tsujan tsujan requested a review from selairi July 19, 2020 12:09
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.

lxqt-backlight: Discrepancy in reading and writing of brightness
1 participant