DTWSMADDWORKSPACEFUNCTIONS(3)
π«Ά 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
- 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