XAddToSaveSet

Syntax

XAddToSaveSet(display, w)
      Display *display;
      Window w;

Arguments

display Specifies the connection to the X server.
w Specifies the window that you want to add to the client's save-set.

Description

The XAddToSaveSet() function adds the specified window to the client's save-set. The specified window must have been created by some other client, or a BadMatch error results.

XAddToSaveSet() can generate BadMatch and BadWindow errors.

Diagnostics

BadMatch An InputOnly window is used as a Drawable.
BadMatch Some argument or pair of arguments has the correct type and range but fails to match in some other way required by the request.
BadWindow A value for a Window argument does not name a defined Window.

See also

XChangeSaveSet(), XRemoveFromSaveSet(), XReparentWindow(), "Controlling the Lifetime of a Window".
Christophe Tronche, ch@tronche.com