NAME
XKillClient − destroy a client or its remaining resources.
Synopsis
XKillClient(display, resource)
Display *display;
XID resource;
Arguments
displaySpecifies a connection to an X server; returned from XOpenDisplay().
resourceSpecifies 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 terminated 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 terminated in RetainTemporary are destroyed. For more information, see Volume One, Chapter 13, Other Programming Techniques.
Errors
BadValue
See Also
XSetCloseDownMode().
Copyright O’Reilly & Assoc. —