config: Add screen-filter configuration and persistent state
This commit is contained in:
parent
c10d400d70
commit
ea09334ff7
2 changed files with 85 additions and 1 deletions
|
|
@ -7,7 +7,7 @@ use crate::{
|
|||
winit::WinitState,
|
||||
x11::X11State,
|
||||
},
|
||||
config::{Config, OutputConfig, OutputState},
|
||||
config::{Config, OutputConfig, OutputState, ScreenFilter},
|
||||
input::{gestures::GestureState, PointerFocusState},
|
||||
shell::{grabs::SeatMoveGrabState, CosmicSurface, SeatExt, Shell},
|
||||
utils::prelude::OutputExt,
|
||||
|
|
@ -451,6 +451,10 @@ impl BackendData {
|
|||
_ => unreachable!("No backend set when getting offscreen renderer"),
|
||||
}
|
||||
}
|
||||
|
||||
pub fn update_screen_filter(&mut self, screen_filter: &ScreenFilter) -> anyhow::Result<()> {
|
||||
let _ = screen_filter; // TODO
|
||||
}
|
||||
}
|
||||
|
||||
pub struct KmsNodes {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue