mirror of
https://github.com/hyprwm/Hyprland.git
synced 2026-08-24 10:04:19 -05:00
renderer: handle HDR -> SDR with cm_auto_hdr (#14102)
This commit is contained in:
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user