DTWSMSETWORKSPACESOCCUPIED(3)

πŸ“¦
version 2.5.3 Β· 2 versions
, in nixos 26.05

πŸ’– 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