[][src]Function xcb::xproto::kill_client

pub fn kill_client<'a>(c: &'a Connection, resource: u32) -> VoidCookie<'a>

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.