Function x11rb::protocol::xproto::change_save_set

source ·
pub fn change_save_set<Conn>(
    conn: &Conn,
    mode: SetMode,
    window: Window,
) -> Result<VoidCookie<'_, Conn>, ConnectionError>
where Conn: RequestConnection + ?Sized,
Expand description

Changes a client’s save set.

TODO: explain what the save set is for.

This function either adds or removes the specified window to the client’s (your application’s) save set.

§Fields

  • mode - Insert to add the specified window to the save set or Delete to delete it from the save set.
  • window - The window to add or delete to/from your save set.

§Errors

  • Match - You created the specified window. This does not make sense, you can only add windows created by other clients to your save set.
  • Value - You specified an invalid mode.
  • Window - The specified window does not exist.

§See

  • ReparentWindow: request