wip: blurred transparency

This commit is contained in:
Ashley Wulber 2026-04-13 11:04:55 -04:00 committed by Ashley Wulber
parent 9395a23a0b
commit 439109db04
4 changed files with 176 additions and 12 deletions

View file

@ -101,6 +101,8 @@ pub struct Core {
#[cfg(all(feature = "wayland", target_os = "linux"))]
pub(crate) sync_window_border_radii_to_theme: bool,
pub(crate) auto_blur: bool,
}
impl Default for Core {
@ -161,6 +163,7 @@ impl Default for Core {
menu_bars: HashMap::new(),
#[cfg(all(feature = "wayland", target_os = "linux"))]
sync_window_border_radii_to_theme: true,
auto_blur: true,
}
}
}
@ -502,4 +505,8 @@ impl Core {
pub fn sync_window_border_radii_to_theme(&self) -> bool {
self.sync_window_border_radii_to_theme
}
pub fn set_auto_blur(&mut self, auto_blur: bool) {
self.auto_blur = auto_blur;
}
}