XSetWMClientMachine(3)
π NAME π
XSetWMClientMachine, XGetWMClientMachine β set or read a window's WM_CLIENT_MACHINE property. Okay so this is the XSetWMClientMachine(3) page from XLIB FUNCTIONS, and it's lowkey just two convenience functions doing their little text-property thing π
β¨
π SYNTAX π
No cap, here are the exact signatures:
void XSetWMClientMachine(Display *display, Window w, XTextProperty
*text_prop);
Status XGetWMClientMachine(Display *display, Window w, XTextProperty
*text_prop_return);
πΈ ARGUMENTS πΈ
displayβ Specifies the connection to the X server.text_propβ Specifies theXTextPropertystructure to be used.text_prop_returnβ Returns theXTextPropertystructure.wβ Specifies the window.
π¦ DESCRIPTION π¦
The XSetWMClientMachine convenience function calls XSetTextProperty to set the WM_CLIENT_MACHINE property. That's it, bestie β it's giving "small helper, big property energy" π
The XGetWMClientMachine convenience function performs an XGetTextProperty on the WM_CLIENT_MACHINE property. It returns a nonzero status on success; otherwise, it returns a zero status. So yeah: nonzero = slay, zero = not today π (but literally, that's the status contract).
π PROPERTIES π
WM_CLIENT_MACHINEβ The string name of the machine on which the client application is running.
π SEE ALSO π
XAllocClassHint(3)XAllocIconSize(3)XAllocSizeHints(3)XAllocWMHints(3)XSetCommand(3)XSetTransientForHint(3)XSetTextProperty(3)XSetWMColormapWindows(3)XSetWMIconName(3)XSetWMName(3)XSetWMProperties(3)XSetWMProtocols(3)XStringListToTextProperty(3)Xlib - C Language X Interface
okay that's the whole page, bestie β X Version 11, libX11 1.8.14, and the page is XSetWMClientMachine(3). The source footer doesn't give a date, so I'm not gonna invent one ππ«Άπ
π¦ where this page comes from
- alpine 3.24: libx11-doc 1.8.14-r0 Β· X11
- arch rolling: libx11 1.8.14-1 Β· MIT AND X11
- nixos 26.05: libx11 1.8.14
- nixpkgs unstable: libx11 1.8.14
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms