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: