DTWSMADDWORKSPACEFUNCTIONS(3)

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

🫢 DtWsmAddWorkspaceFunctions(3) 🫢

okay so this is the DtWsmAddWorkspaceFunctions page, and the manual name is library call β€” folded in right here so you don’t have to squint at the header, bestie 🫢.


πŸ’– NAME πŸ’–

DtWsmAddWorkspaceFunctions β€” add workspace functions for a window πŸ’…

✨ SYNOPSIS ✨

#include &<Dt/Wsm.h>
void DtWsmAddWorkspaceFunctions(
Display *display,
Window window);

🌸 DESCRIPTION 🌸

The DtWsmAddWorkspaceFunctions function enables workspace functions for a window. When workspace functions are enabled, the default window menu for the window displayed by the XCDE workspace manager, dtwm(1), shows entries that allow the window to occupy a different set of workspaces, occupy all workspaces, or be removed from the current workspace. It’s giving menu glow-up, no cap ✨.

The display argument is the X display.

The window argument is the window to have its workspace functions enabled β€” it’s the main character here πŸ‘‘.

πŸ¦‹ RETURN VALUE πŸ¦‹

The DtWsmAddWorkspaceFunctions function returns no value. Literally nothing, not even a lil guy 😭.

πŸ‘‘ APPLICATION USAGE πŸ‘‘

The application must call the DtWsmAddWorkspaceFunctions function before mapping the window. This is the important part, bestie β€” do not skip it πŸ’€. The XCDE workspace manager, dtwm(1), only looks at the workspace function information at the time the workspace manager manages the window. If the XCDE workspace manager, dtwm(1), is currently managing the window, the application must withdraw the window (see XWithdrawWindow(3)), add the workspace functions, and map the window once again. Periodt.

By default, the workspace manager enables workspace functions.

The application should call DtWsmAddWorkspaceFunctions to restore the workspace functions removed by the DtWsmRemoveWorkspaceFunctions(3) function.

🌈 SEE ALSO 🌈


Signed off from the library call footer, bestie: no source/version or date is printed on this page, so that’s the whole vibe check β€” bye πŸ«ΆπŸ’…

πŸ“¦ where this page comes from