XRotateBuffers()XRotateBuffers()NameXRotateBuffers – rotate the cut buffers.
Synopsis
XRotateBuffers(display, rotate)
Display *display;
int rotate;
Arguments
display Specifies a connection to an X server; returned from
XOpenDisplay().
rotate Specifies how many positions to rotate the cut buffers.
DescriptionXRotateBuffers() rotates the 8 cut buffers the amount specified by
rotate. The contents of buffer 0 moves to buffer rotate, contents of
buffer 1 moves to buffer (rotate+1) mod 8, contents of buffer 2 moves
to buffer (rotate+2) mod 8, and so on.
This routine will not work if any of the buffers have not been stored
into with XStoreBuffer() or XStoreBytes().
This cut buffer numbering is global to the display.
See the description of cut buffers in Volume One, Chapter 15, Other
Programming Techniques.
Errors
BadMatch
See AlsoXFetchBuffer(), XFetchBytes(), XStoreBuffer(), XStoreBytes().
Xlib - Cut Buffers XRotateBuffers()