handle HDR -> SDR with cm_auto_hdr

This commit is contained in:
UjinT34 2026-04-17 11:41:26 +03:00
parent b5ea887f07
commit 8f3a84efc0

View file

@ -2251,6 +2251,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)) {