XSetWMClientMachine(3) XLIB FUNCTIONS XSetWMClientMachine(3)

# [NAME](#NAME)

XSetWMClientMachine, XGetWMClientMachine - set or read a window's WM\_CLIENT\_MACHINE property

# [SYNTAX](#SYNTAX)

void XSetWMClientMachine(Display \**display*, Window *w*, XTextProperty \**text\_prop*);

Status XGetWMClientMachine(Display \**display*, Window *w*, XTextProperty \**text\_prop\_return*);

# [ARGUMENTS](#ARGUMENTS)

[*display*](#display)

Specifies the connection to the X server.

[*text\_prop*](#text_prop)

Specifies the **XTextProperty** structure to be used.

[*text\_prop\_return*](#text_prop_return)

Returns the **XTextProperty** structure.

[*w*](#w)

Specifies the window.

# [DESCRIPTION](#DESCRIPTION)

The **XSetWMClientMachine** convenience function calls **XSetTextProperty** to set the WM\_CLIENT\_MACHINE property.

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.

# [PROPERTIES](#PROPERTIES)

[WM\_CLIENT\_MACHINE](#WM_CLIENT_MACHINE)

The string name of the machine on which the client application is running.

# [SEE ALSO](#SEE_ALSO)

[**XAllocClassHint**(3)](/man/os/libx11/XAllocClassHint.3), [**XAllocIconSize**(3)](/man/os/libx11/XAllocIconSize.3), [**XAllocSizeHints**(3)](/man/os/libx11/XAllocSizeHints.3), [**XAllocWMHints**(3)](/man/os/libx11/XAllocWMHints.3), [**XSetCommand**(3)](/man/os/libx11/XSetCommand.3), [**XSetTransientForHint**(3)](/man/os/libx11/XSetTransientForHint.3), [**XSetTextProperty**(3)](/man/os/libx11/XSetTextProperty.3), [**XSetWMColormapWindows**(3)](/man/os/libx11/XSetWMColormapWindows.3), [**XSetWMIconName**(3)](/man/os/libx11/XSetWMIconName.3), [**XSetWMName**(3)](/man/os/libx11/XSetWMName.3), [**XSetWMProperties**(3)](/man/os/libx11/XSetWMProperties.3), [**XSetWMProtocols**(3)](/man/os/libx11/XSetWMProtocols.3), [**XStringListToTextProperty**(3)](/man/os/libx11/XStringListToTextProperty.3)  
*Xlib - C Language X Interface*

libX11 1.8.14 X Version 11

---

Document: XSetWMClientMachine(3) from libx11 1.8.14-r1 (Chainguard OS)
Source: https://gitlab.freedesktop.org/xorg/lib/libx11.git
