[][src]Function clipboard_x11::kill_client_checked

pub fn kill_client_checked(
    c: &'a Connection,
    resource: u32
) -> Cookie<'a, xcb_void_cookie_t>

kills a client

Forces a close down of the client that created the specified resource.

parameters:

  • c: The connection object to the server

  • resource: Any resource belonging to the client (for example a Window), used to identify the client connection.

    The special value of XCB_KILL_ALL_TEMPORARY, the resources of all clients that have terminated in RetainTemporary (TODO) are destroyed.