X Version 11 (Release 6.1)

XSetWMClientMachine(X3xlib)


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

Synopsis

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

Status XGetWMClientMachine(display, w, text_prop_return) 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. Specifies the window.

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


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

References

XAllocClassHint(X3xlib), XAllocIconSize(X3xlib), XAllocSizeHints(X3xlib), XAllocWMHints(X3xlib), XSetCommand(X3xlib), XSetTransientForHint(X3xlib), XSetTextProperty(X3xlib), XSetWMColormapWindows(X3xlib), XSetWMIconName(X3xlib), XSetWMName(X3xlib), XSetWMProperties(X3xlib), XSetWMProtocols(X3xlib), XStringListToTextProperty(X3xlib)

Xlib - C Language X Interface


© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004