chore: align workspaces with local cosmic stack

This commit is contained in:
Lionel DARNIS 2026-05-24 11:11:12 +02:00
parent cd729d045b
commit 7393ce1ff1
5 changed files with 155 additions and 278 deletions

View file

@ -94,6 +94,7 @@ pub enum Cmd {
wl_output::WlOutput,
),
MoveWorkspaceBefore(ExtWorkspaceHandleV1, ExtWorkspaceHandleV1),
#[allow(dead_code)]
MoveWorkspaceAfter(ExtWorkspaceHandleV1, ExtWorkspaceHandleV1),
ActivateWorkspace(ExtWorkspaceHandleV1),
SetWorkspacePinned(ExtWorkspaceHandleV1, bool),

View file

@ -9,6 +9,7 @@ use cosmic::iced::{Length, Rectangle, Size, Vector};
use std::marker::PhantomData;
#[allow(dead_code)]
pub fn image_bg<'a, Msg, T1: Into<cosmic::Element<'a, Msg>>, T2: Into<cosmic::Element<'a, Msg>>>(
content: T1,
bg: T2,

View file

@ -5,6 +5,7 @@ use cosmic::iced::{Length, Rectangle, Size, Vector};
use std::marker::PhantomData;
#[allow(dead_code)]
pub fn mouse_interaction_wrapper<'a, Msg, T: Into<cosmic::Element<'a, Msg>>>(
mouse_interaction: mouse::Interaction,
content: T,