XSetWMClientMachine(3)

πŸ’– NAME πŸ’–

XSetWMClientMachine, XGetWMClientMachine β€” set or read a window's WM_CLIENT_MACHINE property. Okay so this is the XSetWMClientMachine(3) page from XLIB FUNCTIONS, and it's lowkey just two convenience functions doing their little text-property thing πŸ’…βœ¨

πŸŽ€ SYNTAX πŸŽ€

No cap, here are the exact signatures:

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.

πŸ¦‹ DESCRIPTION πŸ¦‹

The XSetWMClientMachine convenience function calls XSetTextProperty to set the WM_CLIENT_MACHINE property. That's it, bestie β€” it's giving "small helper, big property energy" πŸ’–

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. So yeah: nonzero = slay, zero = not today 😭 (but literally, that's the status contract).

πŸ‘‘ PROPERTIES πŸ‘‘

  • WM_CLIENT_MACHINE β€” The string name of the machine on which the client application is running.

🌈 SEE ALSO 🌈

okay that's the whole page, bestie β€” X Version 11, libX11 1.8.14, and the page is XSetWMClientMachine(3). The source footer doesn't give a date, so I'm not gonna invent one πŸ˜­πŸ«ΆπŸ’–

πŸ“¦ where this page comes from