XWindows 中的 SaveSet 是什么

What is a SaveSet in XWindows

我可以看到这些函数的手册页:

   XChangeSaveSet, XAddToSaveSet, XRemoveFromSaveSet - change a client's save set

但它从不费心去解释 "Save Set" 实际上是什么,那么它是什么,目的是什么?

https://www.x.org/releases/X11R7.7/doc/libX11/libX11/libX11.html#Controlling_the_Lifetime_of_a_Window 将存储集定义为:

The save-set of a client is a list of other clients' windows that, if they are inferiors of one of the client's windows at connection close, should not be destroyed and should be remapped if they are unmapped. For further information about close-connection processing, see section 2.6. To allow an application's window to survive when a window manager that has reparented a window fails, Xlib provides the save-set functions that you can use to control the longevity of subwindows that are normally destroyed when the parent is destroyed. For example, a window manager that wants to add decoration to a window by adding a frame might reparent an application's window. When the frame is destroyed, the application's window should not be destroyed but be returned to its previous place in the window hierarchy.