all: remove control center in its entirety
This commit is contained in:
parent
1dfd6169f8
commit
769d12a525
97 changed files with 59 additions and 10580 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue