XSetWMProtocols man page on HP-UX

Man page or keyword search:  
man Server   10987 pages
apropos Keyword Search (all sections)
Output format
HP-UX logo
[printable version]

XSetWMProtocols()					     XSetWMProtocols()

Name
  XSetWMProtocols – set a window's XA_WM_PROTOCOLS property.

Synopsis
  Status XSetWMProtocols(display, w, protocols, count)
	Display *display;
	Window w;
	Atom *protocols;
	int count;
Arguments
  display   Specifies	a  connection  to  an  X  server;  returned  from
	    XOpenDisplay().

  w	    Specifies the window.

  protocols Specifies the list of protocols.

  count	    Specifies the number of protocols in the list.
Returns
  Zero on failure, non-zero on success.

Availability
  Release 4 and later.

Description
  XSetWMProtocols() sets the XA_WM_PROTOCOLS property  on  the	specified
  window  to  the list of atoms specified by the protocols argument.  The
  property is stored with a type of ATOM and a format of 32.  If it  can‐
  not  intern  the XA_WM_PROTOCOLS atom, XSetWMProtocols() returns a zero
  status.  Otherwise, it returns a non-zero status.

  The list of standard protocols at present is as follows:

  WM_TAKE_FOCUS	   Assignment of keyboard focus.

  WM_SAVE_YOURSELF Save client state warning.

  WM_DELETE_WINDOW Request to delete top-level window.

  For more information, see Volume One, Chapter 12, Interclient	 Communi‐
  cation.

Errors
  BadAlloc
  BadWindow

See Also
  XGetWMProtocols().

Xlib - Window Manager Hints				     XSetWMProtocols()
[top]

List of man pages available for HP-UX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net