NAME
XAddToSaveSet — add a window to the client’s save-set.
SYNOPSIS
XAddToSaveSet(display, w) Display ∗display; Window w;
ARGUMENTS
displaySpecifies a connection to an X server; returned from XOpenDisplay().
wSpecifies the ID of the window you want to add to the client’s save-set.
DESCRIPTION
XAddToSaveSet() adds the specified window to the client’s save-set.
The save-set is a safety net for windows that have been reparented by the window manager, usually to provide a titlebar or other decorations for each application. When the window manager dies unexpectedly, the windows in the save-set are reparented to their closest living ancestor, so that they remain alive. See Volume One, Chapter 13, Other Programming Techniques, for more information about save-sets.
Use XRemoveFromSaveSet() to remove a window from the client’s save-set.
ERRORS
BadMatchw not created by some other client.
BadWindow
SEE ALSO
XChangeSaveSet(), XRemoveFromSaveSet().
Xlib Reference Manual