XRotateWindowProperties(display, w, properties, num_prop, npositions)
|| Specifies the connection to the X server.
|| Specifies the window.
|| Specifies the array of properties that are to be rotated.
|| Specifies the length of the properties array.
|| Specifies the rotation amount.
function allows you to rotate properties on a window and causes
the X server to generate
If the property names in the properties array are viewed as being numbered
starting from zero and if there are num_prop property names in the list,
then the value associated with property name I becomes the value associated
with property name
(I + npositions) mod N for all
I from zero to
N - 1.
The effect is to rotate the states by npositions places around the virtual ring
of property names (right for positive npositions,
left for negative npositions).
If npositions mod N is nonzero,
the X server generates a
event for each property in the order that they are listed in the array.
If an atom occurs more than once in the list or no property with that
name is defined for the window,
no properties are changed.
|| A value for an Atom argument does not name a
window is used as a Drawable.
||Some argument or pair of arguments has the correct type and range but fails
to match in some other way required by the request.
|| A value for a Pixmap argument does not name a
||A value for a Window argument does not name a defined Window.
"Obtaining and Changing Window Properties"
Christophe Tronche, firstname.lastname@example.org