XSetCloseDownMode(3X) — X Version 11
NAME
XSetCloseDownMode, XKillClient − control clients
SYNTAX
XSetCloseDownMode(display, close_mode)
Display ∗display;
int close_mode;
XKillClient(display, resource)
Display ∗display;
XID resource;
ARGUMENTS
close_modeSpecifies the client close down mode you want to change. You can pass one of these constants: DestroyAll, RetainPermanent, or RetainTemporary.
displaySpecifies the connection to the X server.
resourceSpecifies any resource associated with the client you want to destroy. You can also pass AllTemporary.
DESCRIPTION
The XSetCloseDownMode defines what will happen to the client’s resources at connection close. .PN XSetCloseDownMode can generate a BadValue error.
The XKillClient function forces a close-down of the client that created the resource if a valid resource is specified. .PN XKillClient can generate a BadValue error.
DIAGNOSTICS
BadValue Some numeric value falls outside the range of values accepted by the request. Unless a specific range is specified for an argument, the full range defined by the argument’s type is accepted. Any argument defined as a set of alternatives can generate this error.
SEE ALSO
Xlib − C Language X Interface
1 March 1988