mirror of
https://github.com/hyprwm/Hyprland
synced 2026-05-07 13:38:15 +02:00
handle HDR -> SDR with cm_auto_hdr
This commit is contained in:
parent
b5ea887f07
commit
8f3a84efc0
1 changed files with 4 additions and 0 deletions
|
|
@ -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)) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue