The Full Wiki

More info on Re-parenting window manager

Re-parenting window manager: Wikis


Note: Many of our articles have direct quotes from sources you can cite, within the Wikipedia article! This article doesn't yet, but we're working on it! See more info or our list of citable articles.


From Wikipedia, the free encyclopedia

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 its parent to be a new window created on 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 awesome, dwm, PLWM, ratpoison and XMonad, due to a lack of any typical window decorations used by these window managers, and also Compiz.




Got something to say? Make a comment.
Your name
Your email address