From 4d40d7925c71500491052772ee56ef8f3bf6ff5c Mon Sep 17 00:00:00 2001 From: Ian Douglas Scott Date: Wed, 29 Jan 2025 16:02:37 -0800 Subject: [PATCH] WIP workspace pin and move requests --- client-toolkit/src/workspace.rs | 2 +- unstable/cosmic-workspace-unstable-v1.xml | 31 ++++++++++++++++++++++- 2 files changed, 31 insertions(+), 2 deletions(-) diff --git a/client-toolkit/src/workspace.rs b/client-toolkit/src/workspace.rs index b726aa292c..67e6b92eca 100644 --- a/client-toolkit/src/workspace.rs +++ b/client-toolkit/src/workspace.rs @@ -38,7 +38,7 @@ impl WorkspaceState { { Self { workspace_groups: Vec::new(), - manager: GlobalProxy::from(registry.bind_one(qh, 1..=2, GlobalData)), + manager: GlobalProxy::from(registry.bind_one(qh, 1..=3, GlobalData)), } } diff --git a/unstable/cosmic-workspace-unstable-v1.xml b/unstable/cosmic-workspace-unstable-v1.xml index 0bb40180ca..46ae3c9850 100644 --- a/unstable/cosmic-workspace-unstable-v1.xml +++ b/unstable/cosmic-workspace-unstable-v1.xml @@ -27,7 +27,7 @@ THIS SOFTWARE. - + Workspaces, also called virtual desktops, are groups of surfaces. A compositor with a concept of workspaces may only show some such groups of @@ -285,6 +285,7 @@ display such workspaces. + @@ -293,6 +294,8 @@ + + @@ -363,6 +366,32 @@ + + + + + + + + + + + + + Request that this workspace be removed. + + There is no guarantee the workspace will be actually removed. + + + + + + Request that this workspace be removed. + + There is no guarantee the workspace will be actually removed. + + + This event is emitted immediately after the zcosmic_workspace_handle_v1 is created