XSetWMClientMachine(3)

XSetWMClientMachine3

Set or read a window's wm_client_machine property

Usage

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 the XTextProperty structure to be used.

text_prop_return

Returns the XTextProperty structure.

w

Specifies the window.

Overview

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

WM_CLIENT_MACHINE

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

Releases

11 releases since Debian 4.0 (Etch); the text changed 10 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7
  5. 8
  6. 9
  7. 10
  8. 11
  9. 12
  10. 13
  11. Arch

From libx11 1.8.14-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.