In the X Window System, every window is contained within another window, called its parent. This makes the windows form a hierarchy. The root window is the root of this hierarchy. It is as large as the screen, and all other windows are either children or descendants of it.
Since every window covers the part of its parent it is staying on, all other windows appear to be above the root window. As a result, the root window is visible as the part of the screen that is behind all other windows. In other words, the root window forms the background of the screen. An image can be used as the wallpaper of the screen by setting it as the background image of the root window. This can be done for example using the
xsetroot or the xv programs.
The direct children of the root window are called top-level windows. These windows are usually drawn with a decorative frame and a title bar (which are actually added by the window manager). The top-level windows are, informally, the regular windows in the terminology of most GUIs. The windows that are not top-level are used for buttons, textboxes, etc.
The properties of the root window are sometimes used as a rudimentary form of inter-client communication means. For example, the cut buffers are properties of the root window that are used for copying selected text from a window to another, and the dwm window manager displays the root window's name in a status area. The X resources are also stored, during execution, in a property of the root window.
Other articles related to "window, windows, root window":
... Every window has a predefined set of attributes and a set of properties, all stored in the server and accessible to the clients via appropriate requests ... Attributes are data about the window, such as its size, position, background color, etc ... are arbitrary pieces of data attached to a window ...
... Borders A border is a window decoration component provided by some window managers, that appears around the active window ... Some window managers may also display a border around background windows ... Context Menu Some window managers provide a context menu that appears when an alternative click event is applied to a desktop component ...
... On systems using the X window system, there is a clear distinction between the window manager and the windowing system ... Strictly speaking, an X window manager does not directly interact with video hardware, mice, or keyboards – that is the responsibility of the X server ... Users of the X Window System have the ability to easily use many different window managers – Metacity, used in GNOME, and KWin, used in KDE Plasma Workspaces, and many others ...
... http//www.goof.com/pcg/marc/root-tail.html. ...
... They are window properties of the root window, named CUT_BUFFER1, etc ... Rather, when text is selected in a window, the window owner copies this text into the property of the root window called CUT_BUFFER1 ... When the user pastes the text in another window, the window owner reads this property of the root window ...
Famous quotes containing the words window and/or root:
“A light and diplomatic bird
Is lenient in my window tree.
A quick dilemma of the leaves
Discloses twist and tact to me.”
—Gwendolyn Brooks (b. 1917)
“She saw a dust bearing bee sink into the sanctum of a bloom; the thousand sister calxes arch to meet the love embrace and the ecstatic shiver of the tree from root to tiniest branch creaming in every blossom and frothing with delight. So this was a marriage!”
—Zora Neale Hurston (18911960)