Wikipedia

Re-parenting window manager

A re-parenting window manager is an X Window System window manager that adopts all other windows.

In the X Window System, every window has a parent window, which may be either the root window or another window. Windows that are children of the root window are called top-level windows. When a top-level window is created, a re-parenting window manager changes that window's parent to be a second new window created by the window manager for this purpose. This allows the window manager to decorate the windows with window decorations and title bars as well as allows advanced control over the windows' operation required, for example, by virtual window managers.

Technically, a reparenting window manager registers with the X server to be notified when a top-level window is mapped (attempts to become visible). When such an event is generated, the window manager creates a frame window, and in most cases also a title bar window. The frame window then becomes the parent of both the main window and the title bar window. Other forms of decoration, such as buttons, window title, etc., may also be created; these would normally be parented by the title bar window. [1]

Virtually all modern window managers are re-parenting, although earlier window managers, such as the uwm window manager, were not. Exceptions to that rule are dwm, cwm, PLWM, ratpoison and xmonad, due to a lack of any typical window decorations used by these window managers, and also Compiz which drew the decorations separately up until version 0.9.0, where it became a re-parenting window manager to allow it to run in a non-composited mode. Even though stumpwm does not draw typical window decorations, it reparents windows in a parent frame to display outlines.

References

This article is copied from an article on Wikipedia® - the free encyclopedia created and edited by its online user community. The text was not checked or edited by anyone on our staff. Although the vast majority of Wikipedia® encyclopedia articles provide accurate and timely information, please do not assume the accuracy of any particular article. This article is distributed under the terms of GNU Free Documentation License.

Copyright © 2003-2025 Farlex, Inc Disclaimer
All content on this website, including dictionary, thesaurus, literature, geography, and other reference data is for informational purposes only. This information should not be considered complete, up to date, and is not intended to be used in place of a visit, consultation, or advice of a legal, medical, or any other professional.