1
0
Fork 0
forked from wry/wry

head-management: add jay-vrr-mode-info-v1 extension

This commit is contained in:
Julian Orth 2025-07-14 14:47:12 +02:00
parent 61570bdef7
commit 3e2707174e
11 changed files with 99 additions and 5 deletions

View file

@ -1324,6 +1324,17 @@ impl OutputNode {
}
self.state.tree_changed();
}
pub fn set_vrr_mode(&self, mode: &'static VrrMode) {
let old = self.global.persistent.vrr_mode.replace(mode);
if old != mode {
self.update_presentation_type();
self.global
.connector
.head_managers
.handle_vrr_mode_change(mode.to_config());
}
}
}
pub struct OutputTitle {