cosmic_workspace_unstable_v2 ↗
Copyright
Copyright © 2025 System76 Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted without fee, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation, and that the name of the copyright holders not be used in advertising or publicity pertaining to distribution of the software without specific, written prior permission. The copyright holders make no representations about the suitability of this software for any purpose. It is provided "as is" without express or implied warranty. THE COPYRIGHT HOLDERS DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
- zcosmic_workspace_manager_v2 — list and control workspaces
- zcosmic_workspace_handle_v2 — a workspace handing a group of surfaces
cosmic_workspace_unstable_v2
zcosmic_workspace_manager_v2
- get_cosmic_workspace — get cosmic workspace extension object
- destroy — destroy the zcosmic_workspace_manager_v2 object
- error
list and control workspaces
This protocol extends ext-workspace-v1 with addtional requests and events.
The caller should call get_cosmic_workspace whenever a new ext workspace is
created.
cosmic_workspace_unstable_v2
zcosmic_workspace_handle_v2
- destroy — destroy the zcosmic_workspace_handle_v1 object
- workspace_capabilities
- capabilities — compositor capabilities
- tiling_state — indicates if tiling behavior is enabled for this workspace
- state — the state of the workspace changed
- tiling_state — types of tiling state a workspace may have
- state — state of the workspace, extending the ext workspace state
- rename — rename this workspace
- set_tiling_state — change the tiling state of this workspace
- move_before — move before a different workspace
- move_after — move after a different workspace
- pin — pin the workspace
- unpin — pin the workspace
a workspace handing a group of surfaces
A zcosmic_workspace_handle_v2 object represents a a workspace that handles a group of surfaces.
Each workspace has a name, conveyed to the client with the name event; a list of states, conveyed to the client with the state event; and optionally a set of coordinates, conveyed to the client with the coordinates event. The client may request that the compositor activate or deactivate the workspace.
Each workspace can belong to only a single workspace group. Depepending on the compositor policy, there might be workspaces with the same name in different workspace groups, but these workspaces are still separate (e.g. one of them might be active while the other is not).