int (*XESetBeforeFlush(display, extension, proc))()
Display *display;
int extension;
int *(*proc)();
display | Specifies the connection to the X server. |
extension | Specifies the extension number. |
proc | Specifies the procedure to call when a buffer is flushed. |
void (*proc)(display, codes, data, len)
Display *display;
XExtCodes *codes;
char *data;
long len;
The data argument specifies a portion of the outgoing data buffer, and its length in bytes is specified by the len argument. Your procedure must not alter the contents of the data, and must not do additional protocol requests to the same display.