Phosphor
Qt6 / Wayland library suite for window-management tools
Loading...
Searching...
No Matches
PhosphorWorkspaces::WorkspaceEntry Struct Reference

One owned desktop in a screen's workspace slice. More...

#include <PhosphorWorkspaces/WorkspaceMap.h>

Public Member Functions

bool operator== (const WorkspaceEntry &other) const

Public Attributes

QString desktopId
 KWin's desktop id, an opaque string.
QString name
 empty = dynamic; non-empty = named (destroy-exempt)
QString namedId
 The persistent id of the named-workspace declaration this desktop realizes (NamedWorkspace::id).
QString homeScreenId
 set only while displaced by hotplug

Detailed Description

One owned desktop in a screen's workspace slice.

Member Function Documentation

◆ operator==()

bool PhosphorWorkspaces::WorkspaceEntry::operator== ( const WorkspaceEntry & other) const
inline

Member Data Documentation

◆ desktopId

QString PhosphorWorkspaces::WorkspaceEntry::desktopId

KWin's desktop id, an opaque string.

KWin mints unbraced UUIDs, but a desktop restored from kwinrc keeps whatever id the file carried, so no shape is assumed beyond "non-empty".

◆ homeScreenId

QString PhosphorWorkspaces::WorkspaceEntry::homeScreenId

set only while displaced by hotplug

◆ name

QString PhosphorWorkspaces::WorkspaceEntry::name

empty = dynamic; non-empty = named (destroy-exempt)

◆ namedId

QString PhosphorWorkspaces::WorkspaceEntry::namedId

The persistent id of the named-workspace declaration this desktop realizes (NamedWorkspace::id).

Survives a rename of the declaration, which is what lets a rename happen in place. Empty for a dynamic desktop, and for a named one realized from a declaration that has no id yet.


The documentation for this struct was generated from the following file: