x11rb::protocol::xproto

Function get_selection_owner

Source
pub fn get_selection_owner<Conn>(
    conn: &Conn,
    selection: Atom,
) -> Result<Cookie<'_, Conn, GetSelectionOwnerReply>, ConnectionError>
where Conn: RequestConnection + ?Sized,
Expand description

Gets the owner of a selection.

Gets the owner of the specified selection.

TODO: briefly explain what a selection is.

§Fields

  • selection - The selection.

§Errors

  • Atom - selection does not refer to a valid atom.

§See

  • SetSelectionOwner: request