XESetCloseDisplay
Syntax
int (*XESetCloseDisplay(display, extension, proc))()
Display *display;
int extension;
int (*proc)();
Arguments
display
| Specifies the connection to the X server.
|
extension
| Specifies the extension number.
|
proc
| Specifies the procedure to call when the display is closed.
|
Description
The
XESetCloseDisplay()
function defines a procedure to be called whenever
XCloseDisplay()
is called.
It returns any previously defined procedure, usually NULL.
When
XCloseDisplay()
is called,
your procedure is called
with these arguments:
(*proc)(display, codes)
Display *display;
XExtCodes *codes;
See also
XESetBeforeFlush(),
XESetCopyGC(),
XESetCreateFont(),
XESetCreateGC(),
XESetError(),
XESetErrorString(),
XESetEventToWire(),
XESetFlushGC(),
XESetFreeFont(),
XESetFreeGC(),
XESetPrintErrorValues(),
XESetWireToError(),
XESetWireToEvent(),
_XSetLastRequestRead(),
"
Hooks into the Library"
Christophe Tronche, [email protected]