1. NAME

XSetWMClientMachine, XGetWMClientMachine - set or read a window's WM_CLIENT_MACHINE property

2. SYNTAX

void XSetWMClientMachine(Display *display, Window w, XTextProperty *text_prop); Status XGetWMClientMachine(Display *display, Window w, XTextProperty *text_prop_return);

3. ARGUMENTS

display 1i Specifies the connection to the X server.

text_prop 1i Specifies the .ZN XTextProperty structure to be used.

text_prop_return 1i Returns the .ZN XTextProperty structure.

w 1i Specifies the window.

4. DESCRIPTION

The .ZN XSetWMClientMachine convenience function calls .ZN XSetTextProperty to set the WM_CLIENT_MACHINE property.

The .ZN XGetWMClientMachine convenience function performs an .ZN XGetTextProperty on the WM_CLIENT_MACHINE property. It returns a nonzero status on success; otherwise, it returns a zero status.

5. PROPERTIES

  • \s-1WM_CLIENT_MACHINE\s+1
     The string name of the machine on which the client application is running.

6. SEE ALSO