pub fn kill_client<Conn, A>(
conn: &Conn,
resource: A,
) -> Result<VoidCookie<'_, Conn>, ConnectionError>
Expand description
kills a client.
Forces a close down of the client that created the specified resource
.
§Fields
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.
§Errors
Value
- The specifiedresource
does not exist.
§See
xkill
: program