Asks the session manager to restore WM state for name and associate it with window.
If name is not known in the session, the session manager will act as if xfce_session_client_add_window() was
called. window must not have already been added to the session, and there must be no other window currently registered with
the session manager using name.
This must be called before window is mapped.
While this may be called at any time, note that the window restore will not take place until window is mapped. If
window becomes mapped while this is not connected to the session manager, it cannot be
restored. When client is eventually connected, window will instead be removed and re-added (as if
xfce_session_client_remove_window() and then xfce_session_client_add_window() were called), which will discard any
previous WM state for window.
| this | |
| window |
A Window |
| name |
A unique name |