XSetCloseDownMode
NAMESYNTAX
ARGUMENTS
DESCRIPTION
DIAGNOSTICS
SEE ALSO
NAME
XSetCloseDownMode, XKillClient − control clients
SYNTAX
int XSetCloseDownMode(Display *display, int close_mode); |
||
int XKillClient(Display *display, XID resource); |
ARGUMENTS
close_mode
Specifies the client close-down mode. You can pass DestroyAll, RetainPermanent, or RetainTemporary.
display |
Specifies the connection to the X server. | ||
resource |
Specifies any resource associated with the client that you want to destroy or AllTemporary. |
DESCRIPTION
The XSetCloseDownMode defines what will happen to the client’s resources at connection close. A connection starts in DestroyAll mode. For information on what happens to the client’s resources when the close_mode argument is RetainPermanent or RetainTemporary, see section 2.6.
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. If the client has already terminated in either RetainPermanent or RetainTemporary mode, all of the client’s resources are destroyed. If AllTemporary is specified, the resources of all clients that have terminated in RetainTemporary are destroyed (see section 2.5). This permits implementation of window manager facilities that aid debugging. A client can set its close-down mode to RetainTemporary. If the client then crashes, its windows would not be destroyed. The programmer can then inspect the application’s window tree and use the window manager to destroy the zombie windows.
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
More Linux Commands
manpages/XkbFreeGeomKeys.3.html
XkbFreeGeomKeys(3) - Free geometry keys - Linux manual page
If free_all is True, all keys are freed regardless of the value of first or count. Otherwise, count keys are freed beginning with the one specified by first. Xk
manpages/gnutls_certificate_set_verify_limits.3.html
gnutls_certificate_set_verify_limits(3) - API function......
This function will set some upper limits for the default verification function, gnutls_certificate_verify_peers2(), to avoid denial of service attacks. You can
manpages/msgfilter.1.html
msgfilter(1) - edit translations of message catalog.........
Applies a filter to all translations of a translation catalog. Mandatory arguments to long options are mandatory for short options too. Input file location: -i,
manpages/feof_unlocked.3.html
feof_unlocked(3) - nonlocking stdio functions (Man Page)....
Each of these functions has the same behavior as its counterpart without the _unlocked suffix, except that they do not use locking (they do not set locks themse
manpages/git-help.1.html
git-help(1) - display help information about git (Man Page)
With no options and no COMMAND or GUIDE given, the synopsis of the git command and a list of the most commonly used Git commands are printed on the standard out
manpages/j0f.3.html
j0f(3) - Bessel functions of the first kind - Linux man page
The j0() and j1() functions return Bessel functions of x of the first kind of orders 0 and 1, respectively. The jn() function returns the Bessel function of x o
manpages/ospeed.3ncurses.html
ospeed(3ncurses) - direct curses interface to the terminfo c
These routines are included as a conversion aid for programs that use the termcap library. Their parameters are the same and the routines are emulated using the
manpages/gnutls_psk_set_server_credentials_function.3.html
gnutls_psk_set_server_credentials_function.3................
This function can be used to set a callback to retrieve the users PSK credentials. The callbacks function form is: int (*callback)(gnutls_session_t, const char*
manpages/CPANPLUS::Dist.3pm.html
CPANPLUS::Dist(3pm) - (unknown subject) - Linux manual page
CPANPLUS::Dist is a base class for CPANPLUS::Dist::MM and CPANPLUS::Dist::Build. Developers of other CPANPLUS::Dist::* plugins should look at CPANPLUS::Dist::Ba
manpages/xmlwf.1.html
xmlwf(1) Determines if an XML document is well-formed.......
xmlwf uses the Expat library to determine if an XML document is well-formed. It is non-validating. If you do not specify any files on the command-line, and you
manpages/lber-decode.3.html
lber-decode(3) - OpenLDAP LBER simplified Basic Encoding Rul
These routines provide a subroutine interface to a simplified implementation of the Basic Encoding Rules of ASN.1. The version of BER these routines support is
manpages/XF86MiscGetSaver.3.html
XF86MiscGetSaver(3) - Extension library for the XFree86-Misc
These functions provide an interface to the XFree86-Misc extension which allows various server settings to be queried and changed dynamically. Applications that
