Quantcast
Channel: PowerDevil activity
Viewing all articles
Browse latest Browse all 1712

Jakob Petsovits accepted merge request !348: actions/dimdisplay: Don't dim wh...

$
0
0

Cherry-pick to Plasma/6.0 of MR !344, including both its main commit and the extra logging improvement commit.


DimDisplay::onIdleTimeout() may not force "Explicit" when triggeringthe action manually, but it will still record old screen & keyboardbrightness values regardless of policy and set m_dimmed to true.We should always do either one or the other.

Hence, track the ChangeScreenSettings policy state within DimDisplayand use that to skip all of onIdleTimeout() if currently inhibiting.As per GitLab issue #29, we're better off without "Explicit" here.

Modeled after the DPMS action which has similar policy tracking code.

(cherry picked from commit 2f2ec7c9)


Viewing all articles
Browse latest Browse all 1712

Trending Articles