chore: update dependencies

Includes the `calloop` timer buildup fix.
This commit is contained in:
Vukašin Vojinović 2026-02-17 14:28:04 +01:00 committed by Victoria Brekenfeld
parent fa3ffd18da
commit 8768e46577
6 changed files with 953 additions and 774 deletions

View file

@ -7,7 +7,7 @@ use cosmic::{
layout::{Layout, Limits, Node},
mouse::Cursor,
renderer::{self, Renderer as IcedRenderer},
text::{LineHeight, Paragraph, Renderer as TextRenderer, Shaping},
text::{Ellipsize, LineHeight, Paragraph, Renderer as TextRenderer, Shaping, Wrapping},
widget::{Tree, Widget, tree},
},
};
@ -84,7 +84,8 @@ impl TabText {
vertical_alignment: alignment::Vertical::Center,
shaping: Shaping::Advanced,
line_height: LineHeight::default(),
wrapping: cosmic::iced::advanced::text::Wrapping::None,
wrapping: Wrapping::None,
ellipsize: Ellipsize::None,
})
}
}

View file

@ -42,7 +42,7 @@ impl ToplevelCaptureSourceHandler for State {
fn toplevel_source_created(
&mut self,
source: ImageCaptureSource,
toplevel: &ForeignToplevelHandle,
toplevel: ForeignToplevelHandle,
) {
let data = match window_from_ext(self, toplevel) {
Some(toplevel) => ImageCaptureSourceKind::Toplevel(toplevel.clone()),

View file

@ -637,7 +637,7 @@ pub fn window_from_handle<W: Window + 'static>(handle: ZcosmicToplevelHandleV1)
pub fn window_from_ext<'a, W: Window + 'static, D>(
state: &'a D,
handle: &ForeignToplevelHandle,
handle: ForeignToplevelHandle,
) -> Option<&'a W>
where
D: ToplevelInfoHandler<Window = W>,
@ -662,7 +662,7 @@ where
D: ToplevelInfoHandler<Window = W>,
{
let handle = ForeignToplevelHandle::from_resource(foreign_toplevel)?;
window_from_ext(state, &handle)
window_from_ext(state, handle)
}
macro_rules! delegate_toplevel_info {