1
0
Fork 0
forked from wry/wry

head-management: add drm-color-space-info-v1 extension

This commit is contained in:
Julian Orth 2025-07-14 11:03:34 +02:00
parent 1195613fc6
commit 6647b93e1e
9 changed files with 117 additions and 1 deletions

View file

@ -462,6 +462,10 @@ impl ConnectorData {
if old.format != s.format {
self.head_managers.handle_format_change(s.format);
}
if (old.color_space, old.transfer_function) != (s.color_space, s.transfer_function) {
self.head_managers
.handle_colors_change(s.color_space, s.transfer_function);
}
if let Some(output) = state.outputs.get(&self.connector.id())
&& let Some(node) = &output.node
{