refactor(output config): move to config crate

this allows the greeter to easily sync to the user config
This commit is contained in:
Ashley Wulber 2025-08-19 16:51:37 -04:00 committed by Ashley Wulber
parent 4a385d5535
commit 416b66b776
17 changed files with 283 additions and 194 deletions

View file

@ -1,3 +1,4 @@
use cosmic_comp_config::output::{AdaptiveSync, OutputConfig, OutputState};
use smithay::{
backend::drm::VrrSupport as Support,
output::{Output, WeakOutput},
@ -8,10 +9,7 @@ pub use super::geometry::*;
pub use crate::shell::{SeatExt, Shell, Workspace};
pub use crate::state::{Common, State};
pub use crate::wayland::handlers::xdg_shell::popup::update_reactive_popups;
use crate::{
config::{AdaptiveSync, EdidProduct, OutputConfig, OutputState},
shell::zoom::OutputZoomState,
};
use crate::{config::EdidProduct, shell::zoom::OutputZoomState};
use std::{
cell::{Ref, RefCell, RefMut},