renderer: handle HDR -> SDR with cm_auto_hdr (#14102)

This commit is contained in:
UjinT34
2026-05-09 11:41:06 +01:00
committed by GitHub
parent 8b78de5d90
commit 07a086afee
+4
View File
@@ -2298,6 +2298,10 @@ void IHyprRenderer::handleFullscreenSettings(PHLMONITOR pMonitor) {
}
}
// Do it here instead of disabling the block above to allow hdr -> hdr metadata changes in fullscreen
if (!*PAUTOHDR && !pMonitor->m_lastScanout)
wantHDR = configuredHDR;
if (!hdrIsHandled) {
if (pMonitor->inHDR() != wantHDR) {
if (*PAUTOHDR && !(pMonitor->inHDR() && configuredHDR)) {