XKillClient()XKillClient()NameXKillClient – destroy a client or its remaining resources.
Synopsis
XKillClient(display, resource)
Display *display;
XID resource;
Arguments
display Specifies a connection to an X server; returned from
XOpenDisplay().
resource Specifies any resource created by the client you want to
destroy, or the constant AllTemporary.
Description
If a valid resource is specified, XKillClient() forces a close-down of
the client that created the resource. If the client has already termi‐
nated in either RetainPermanent or RetainTemporary mode, all of the
client's resources are destroyed. If AllTemporary is specified in the
resource argument, then the resources of all clients that have termi‐
nated in RetainTemporary are destroyed.
For more information, see Volume One, Chapter 15, Other Programming
Techniques.
Errors
BadValue
See AlsoXSetCloseDownMode().
Xlib - Client Connections XKillClient()