D8502: Fix brightness not restoring when an inhibition is active
Алексей Шилин
noreply at phabricator.kde.org
Thu Oct 26 16:03:57 UTC 2017
aleksejshilin created this revision.
aleksejshilin added a reviewer: Plasma.
Restricted Application added a project: Plasma.
Restricted Application added a subscriber: plasma-devel.
REVISION SUMMARY
An active inhibition with ChangeScreenSettings policy won't
allow to restore dimmed screen brightness normally. In this
case the user will be left with a barely visible screen,
requiring him/her to manually adjust the brightness back to
normal.
This commit enforces dimmed screen brightness restoration
even if ChangeScreenSettings policy is unavailable.
REPOSITORY
R122 Powerdevil
BRANCH
fix_restore_brightness
REVISION DETAIL
https://phabricator.kde.org/D8502
AFFECTED FILES
daemon/actions/bundled/dimdisplay.cpp
daemon/actions/bundled/dimdisplay.h
To: aleksejshilin, #plasma
Cc: plasma-devel, ZrenBot, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20171026/159fa011/attachment-0001.html>
More information about the Plasma-devel
mailing list