XRotateBuffers

Syntax

XRotateBuffers(display, rotate)
      Display *display;
      int rotate;

Arguments

display Specifies the connection to the X server.
rotate Specifies how much to rotate the cut buffers.

Description

The XRotateBuffers() function rotates the cut buffers, such that buffer 0 becomes buffer n, buffer 1 becomes n + 1 mod 8, and so on. This cut buffer numbering is global to the display. Note that XRotateBuffers() generates BadMatch errors if any of the eight buffers have not been created.

Diagnostics

BadMatch An InputOnly window is used as a Drawable.
BadMatch Some argument or pair of arguments has the correct type and range but fails to match in some other way required by the request.

See also

XFetchBuffer(), XFetchBytes(), XStoreBuffer(), XStoreBytes(), "Using Cut Buffers".
Christophe Tronche, ch@tronche.com