1
0
Fork 0
forked from wry/wry

all: remove control center in its entirety

This commit is contained in:
kossLAN 2026-04-05 20:36:33 -04:00
parent 1dfd6169f8
commit 769d12a525
No known key found for this signature in database
97 changed files with 59 additions and 10580 deletions

View file

@ -12,7 +12,6 @@ use {
},
},
cmm::{cmm_description::ColorDescription, cmm_primaries::Primaries},
control_center::CCI_VIRTUAL_OUTPUTS,
format::{Format, XRGB8888},
gfx_api::{
AcquireSync, BufferResv, DirectScanoutPosition, FdSync, GfxBlendBuffer, GfxContext,
@ -285,18 +284,16 @@ impl VirtualOutputs {
self.outputs.set(name.to_string(), vo.clone());
vo.flip_task
.set(Some(state.eng.spawn("vo-flip", vo.clone().flip_task())));
state.trigger_cci(CCI_VIRTUAL_OUTPUTS);
vo
}
pub fn remove_output(&self, state: &Rc<State>, name: &str) {
pub fn remove_output(&self, _state: &Rc<State>, name: &str) {
let Some(o) = self.outputs.remove(name) else {
return;
};
o.clear();
o.events.send_event(ConnectorEvent::Disconnected);
o.events.send_event(ConnectorEvent::Removed);
state.trigger_cci(CCI_VIRTUAL_OUTPUTS);
}
pub fn clear(&self) {