1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-04-14 09:42:10 -04:00

gamma: reset lastAppliedTemp on suspend instead of destroying/recreating

outputs

fixes #2199 , possibly regresses #1235 - but I think the original bug
was lastAppliedTemp being incorrectly set, this allows compositors to
cache last applied gamma

gamma: add a bunch of defensive mechanisms for output changes
related to #2197

gamma: ensure gamma is re-evaluate on resume
fixes #1036
This commit is contained in:
bbedward
2026-04-12 21:40:39 -04:00
parent f61438e11f
commit dc4b1529e6
3 changed files with 182 additions and 48 deletions

View File

@@ -819,6 +819,7 @@ Singleton {
if (event.event === "unlock" || event.event === "resume") {
suppressOsd = true;
osdSuppressTimer.restart();
evaluateNightMode();
}
}