yoda: cargo fix sweep post-rebase + iced submodule sweep bump

Leyoda 2026 – GPLv3
This commit is contained in:
Lionel DARNIS 2026-07-02 19:11:38 +02:00
parent 9e9ae942c4
commit 2fe2d35286
22 changed files with 53 additions and 58 deletions

View file

@ -158,7 +158,7 @@ where
#[cfg(feature = "surface-message")]
match _surface_message {
#[cfg(all(feature = "wayland", target_os = "linux"))]
crate::surface::Action::AppSubsurface(settings, live_settings, view) => {
crate::surface::Action::AppSubsurface(settings, _live_settings, view) => {
let Some(settings) = std::sync::Arc::try_unwrap(settings)
.ok()
.and_then(|s| s.downcast::<Box<dyn Fn(&mut T) -> iced_runtime::platform_specific::wayland::subsurface::SctkSubsurfaceSettings + Send + Sync>>().ok()) else {
@ -185,7 +185,7 @@ where
self.get_subsurface(settings, view.map(|v| *v))
}
#[cfg(all(feature = "wayland", target_os = "linux"))]
crate::surface::Action::Subsurface(settings, live_settings, view) => {
crate::surface::Action::Subsurface(settings, _live_settings, view) => {
let Some(settings) = std::sync::Arc::try_unwrap(settings)
.ok()
.and_then(|s| s.downcast::<Box<dyn Fn() -> iced_runtime::platform_specific::wayland::subsurface::SctkSubsurfaceSettings + Send + Sync>>().ok()) else {
@ -1408,7 +1408,7 @@ impl<T: Application> Cosmic<T> {
{
use iced_winit::platform_specific::commands::corner_radius::corner_radius;
let mut theme = THEME.lock().unwrap();
let theme = THEME.lock().unwrap();
// TODO do we need per window sharp corners?
let rounded = (!self.app.core().window.sharp_corners