Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

NAME

XSetWMClientMachine − set a window’s XA_WM_CLIENT_MACHINE property. 

Synopsis

void XSetWMClientMachine(display, w, text_prop)

   Display *display;
   Window w;
   XTextProperty *text_prop;

Arguments

displaySpecifies a connection to an X server; returned from XOpenDisplay(). 

wSpecifies the window. 

text_propSpecifies the XTextProperty structure to be used. 

Availability

Release 4 and later. 

Description

XSetWMClientMachine() performs an XSetTextProperty() to set the XA_WM_CLIENT_MACHINE property of the specified window.  This property should contain the name of the host machine on which this client is being run, as seen from the server.  For more information, see Volume One, Chapter 10, Interclient Communication. 

Structures

typedef struct {
    unsigned char *value;          /* same as Property routines */
    Atom encoding;                 /* prop type */
    int format;                    /* prop data format: 8, 16, or 32 */
    unsigned long nitems;          /* number of data items in value */
} XTextProperty;

See Also

XGetWMClientMachine(). 

Copyright O’Reilly & Assoc.  —  

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026