Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

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(). 

Copyright O’Reilly & Assoc.  —  

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026