XGetWMProtocols 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]

XGetWMProtocols()					     XGetWMProtocols()

Name
  XGetWMProtocols – get a window's WM_PROTOCOLS property.

Synopsis
  Status XGetWMProtocols(display, w, protocols_return, count_return)
	Display *display;
	Window w;
	Atom **protocols_return;
	int *count_return;

Arguments
  display   Specifies	a  connection  to  an  X  server;  returned  from
	    XOpenDisplay().

  w	    Specifies the window.

  protocols_return
	    Returns the list of protocols.

  count_return
	    Returns the number of protocols in the list.

Returns
  Zero on failure, non-zero on success.

Availability
  Release 4 and later.

Description
  XGetWMProtocols() gets the list of atoms  stored  in	the  WM_PROTOCOLS
  property  of the specified window.  These atoms describe window manager
  protocols in which the owner of this window is willing to participate.

  If the property exists, is of type ATOM, is of format 32, and the  atom
  WM_PROTOCOLS	 can  be  interned,  XGetWMProtocols()	sets  the  proto‐
  cols_return argument to a list of atoms, sets the count_return argument
  to  the  number  of  elements in list, and returns a a non-zero status.
  Otherwise, it sets neither of the return arguments and returns  a  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_UNKNOWN
		   Request to delete top-level window.

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

Errors
  BadWindow

See Also
  XSetWMProtocols().

Xlib - Window Manager Hints				     XGetWMProtocols()
[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