Skip to content
Commit b30c584d authored by Werner Sembach's avatar Werner Sembach Committed by Jakob Petsovits
Browse files

kbd backlight: Fix double brightness restore on LidOpen-resume



This fixes the issue that on LidOpen-resume the brightness might get restored
two times. Once to the correct vallue and once incorrectly to 0.

To archive this it uses the same simple "don't restore to 0"-policy as is used
in dimdisplay.cpp, dpms.cpp, and handlebuttonevent.cpp.

Signed-off-by: default avatarWerner Sembach <wse@tuxedocomputers.com>

(cherry picked from commit aa2fa106)
parent 5f784032
Pipeline #603261 failed
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment