Asks the session manager to keep track of window so its WM state can be restored later.
window must not have already been added to the session.
name must be unique, and cannot be a string that has previously been sent to the session manager using this function or
xfce_session_client_restore_window(). If you wish to re-use name with cleared state, you must call
xfce_session_client_remove_window() first. If you wish to add a window with a name that has been previously used (without being
removed), you must use xfce_session_client_restore_window() instead.
Depending on your needs, you can use descriptive titles for name, such as "settings-dialog", or you can use random strings
or UUIDs.
| this | |
| window |
A Window |
| name |
A unique name |