1
0
Fork 0
forked from wry/wry

output: pre-compute OutputId hash

This commit is contained in:
Julian Orth 2026-04-05 14:15:38 +02:00 committed by kossLAN
parent 9bd7e14b08
commit 6e9adc487e
No known key found for this signature in database
8 changed files with 88 additions and 40 deletions

View file

@ -258,12 +258,7 @@ impl VirtualOutputs {
state: state.clone(),
id,
kernel_id,
output_id: Rc::new(OutputId::new(
kernel_id.to_string(),
"Jay".to_string(),
"VirtualOutput".to_string(),
name.to_string(),
)),
output_id: OutputId::new(kernel_id.to_string(), "Jay", "VirtualOutput", name),
name: format!("VO-{}", name),
frontend_state: Default::default(),
needs_format_update: Default::default(),