DTWSMSETWORKSPACESOCCUPIED(3)
π NAME π
This is the library call page for DtWsmSetWorkspacesOccupied β it sets the workspaces in which a window resides. Iconic behavior, honestly. π«Ά
β¨ SYNOPSIS β¨
#include &<Dt/Wsm.h>
void DtWsmSetWorkspacesOccupied(
Display *display,
Window window,
Atom *paWorkspaces,
int numWs);
πΈ DESCRIPTION πΈ
The DtWsmSetWorkspacesOccupied function works with the XCDE workspace manager, dtwm(1), and puts a window into a set of workspaces. Itβs giving βwindow, but make it live in multiple places.β π
Hereβs the squad of arguments:
displayβ the X display. Thatβs the whole vibe check for where this is happening.windowβ the window to be put into this set of workspaces.paWorkspacesβ points to a list of workspace names (converted to X atoms); the XCDE workspace manager,dtwm(1), places the window into these workspaces. Atoms are just the workspace-name glow-up, iykyk.numWsβ the number of elements in the list of workspaces.
Not me expecting it to validate the list of requested workspaces β it does not validate the list of requested workspaces, bestie. The workspace manager ignores invalid workspaces in the list. No cap.
Calling the DtWsmSetWorkspacesOccupied function overrides the effect of the DtWsmOccupyAllWorkspaces function. So yeah, this one takes main character energy over that one. π₯
β RETURN VALUE β
The DtWsmSetWorkspacesOccupied function returns no value.
Periodt. Thatβs it. Itβs a void situation. π
π¦ SEE ALSO π¦
Go peek at dtwm(1) and Dt/Wsm.h - DtWsm(5). So much lore. β¨
okay bye bestie π β this is the library call page for DtWsmSetWorkspacesOccupied; the footer just echoes the truncated title and (library call), with no extra source/version or date line shown, fr fr. π«Ά
π¦ where this page comes from
- nixos 26.05: cde 2.5.3
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms