1XSetCloseDownMode(3)            XLIB FUNCTIONS            XSetCloseDownMode(3)
2
3
4

NAME

6       XSetCloseDownMode, XKillClient - control clients
7

SYNTAX

9       int XSetCloseDownMode(Display *display, int close_mode);
10
11       int XKillClient(Display *display, XID resource);
12

ARGUMENTS

14       close_mode
15                 Specifies the client close-down mode.  You can pass Destroy‐
16                 All, RetainPermanent, or RetainTemporary.
17
18       display   Specifies the connection to the X server.
19
20       resource  Specifies any resource associated with the client that you
21                 want to destroy or AllTemporary.
22

DESCRIPTION

24       The XSetCloseDownMode defines what will happen to the client's
25       resources at connection close.  A connection starts in DestroyAll mode.
26       For information on what happens to the client's resources when the
27       close_mode argument is RetainPermanent or RetainTemporary, see section
28       2.6.
29
30       XSetCloseDownMode can generate a BadValue error.
31
32       The XKillClient function forces a close down of the client that created
33       the resource if a valid resource is specified.  If the client has
34       already terminated in either RetainPermanent or RetainTemporary mode,
35       all of the client's resources are destroyed.  If AllTemporary is speci‐
36       fied, the resources of all clients that have terminated in RetainTempo‐
37       rary are destroyed (see section 2.5).  This permits implementation of
38       window manager facilities that aid debugging.  A client can set its
39       close-down mode to RetainTemporary.  If the client then crashes, its
40       windows would not be destroyed.  The programmer can then inspect the
41       application's window tree and use the window manager to destroy the
42       zombie windows.
43
44       XKillClient can generate a BadValue error.
45

DIAGNOSTICS

47       BadValue  Some numeric value falls outside the range of values accepted
48                 by the request.  Unless a specific range is specified for an
49                 argument, the full range defined by the argument's type is
50                 accepted.  Any argument defined as a set of alternatives can
51                 generate this error.
52

SEE ALSO

54       Xlib - C Language X Interface
55
56
57
58X Version 11                     libX11 1.3.4             XSetCloseDownMode(3)
Impressum