XRaiseWindow(3X11) X11R5 XRaiseWindow(3X11)NAME
XRaiseWindow, XLowerWindow, XCirculateSubwindows, XCirculateSubwindow‐
sUp, XCirculateSubwindowsDown, XRestackWindows - change window stacking
order
SYNTAX
XRaiseWindow(display, w)
Display *display;
Window w;
XLowerWindow(display, w)
Display *display;
Window w;
XCirculateSubwindows(display, w, direction)
Display *display;
Window w;
int direction;
XCirculateSubwindowsUp(display, w)
Display *display;
Window w;
XCirculateSubwindowsDown(display, w)
Display *display;
Window w;
XRestackWindows(display, windows, nwindows);
Display *display;
Window windows[];
int nwindows;
ARGUMENTS
direction Specifies the direction (up or down) that you want to circu‐
late the window. You can pass or
display Specifies the connection to the X server.
nwindows Specifies the number of windows to be restacked.
w Specifies the window.
windows Specifies an array containing the windows to be restacked.
DESCRIPTION
The function raises the specified window to the top of the stack so
that no sibling window obscures it. If the windows are regarded as
overlapping sheets of paper stacked on a desk, then raising a window is
analogous to moving the sheet to the top of the stack but leaving its x
and y location on the desk constant. Raising a mapped window may gen‐
erate events for the window and any mapped subwindows that were for‐
merly obscured.
If the override-redirect attribute of the window is and some other
client has selected on the parent, the X server generates a event, and
no processing is performed. Otherwise, the window is raised.
can generate a error.
The function lowers the specified window to the bottom of the stack so
that it does not obscure any sibling windows. If the windows are
regarded as overlapping sheets of paper stacked on a desk, then lower‐
ing a window is analogous to moving the sheet to the bottom of the
stack but leaving its x and y location on the desk constant. Lowering
a mapped window will generate events on any windows it formerly
obscured.
If the override-redirect attribute of the window is and some other
client has selected on the parent, the X server generates a event, and
no processing is performed. Otherwise, the window is lowered to the
bottom of the stack.
can generate a error.
The function circulates children of the specified window in the speci‐
fied direction. If you specify raises the lowest mapped child (if any)
that is occluded by another child to the top of the stack. If you
specify lowers the highest mapped child (if any) that occludes another
child to the bottom of the stack. Exposure processing is then per‐
formed on formerly obscured windows. If some other client has selected
on the window, the X server generates a event, and no further process‐
ing is performed. If a child is actually restacked, the X server gen‐
erates a event.
can generate and errors.
The function raises the lowest mapped child of the specified window
that is partially or completely occluded by another child. Completely
unobscured children are not affected. This is a convenience function
equivalent to with specified.
can generate a error.
The function lowers the highest mapped child of the specified window
that partially or completely occludes another child. Completely unob‐
scured children are not affected. This is a convenience function
equivalent to with specified.
can generate a error.
The function restacks the windows in the order specified, from top to
bottom. The stacking order of the first window in the windows array is
unaffected, but the other windows in the array are stacked underneath
the first window, in the order of the array. The stacking order of the
other windows is not affected. For each window in the window array
that is not a child of the specified window, a error results.
If the override-redirect attribute of a window is and some other client
has selected on the parent, the X server generates events for each win‐
dow whose override-redirect flag is not set, and no further processing
is performed. Otherwise, the windows will be restacked in top to bot‐
tom order.
can generate error.
DIAGNOSTICS
Some numeric value falls outside the range of values accepted by the
request.
Unless a specific range is specified for an argument, the
full range defined by the argument's type is accepted. Any
argument defined as a set of alternatives can generate this
error.
A value for a Window argument does not name a defined Window.
SEE ALSOXChangeWindowAttributes(3X11), XConfigureWindow(3X11), XCreateWin‐
dow(3X11), XDestroyWindow(3X11), XMapWindow(3X11), XUnmapWindow(3X11)
Xlib - C Language X Interface
XRaiseWindow(3X11)