X Window Manager - How X Window Managers Work

How X Window Managers Work

When a window manager is running, some kinds of interaction between the X server and its clients are redirected through the window manager. In particular, whenever an attempt to show a new window is made, this request is redirected to the window manager, which decides the initial position of the window. Additionally, most modern window managers are reparenting, which usually leads to a banner being placed at the top of the window and a decorative frame being drawn around the window. These two elements are controlled by the window manager rather than the program. Therefore, when the user clicks or drags these elements, it is the window manager that takes the appropriate actions (such as moving or resizing the window).

Window managers are also responsible for icons. Indeed, icons do not exist at the X Window System core protocol level. When the user requests a window to be iconified, the window manager unmaps it (makes it non-visible) and takes the appropriate actions to show an icon in its place. Most modern window managers do not literally show icons to represent iconified windows anymore. Often, an auxiliary toolbar program will allow access to iconified windows.

While the main aim of a window manager is to manage the windows, many window managers have additional features such as handling mouse clicks in the root window, presenting panes and other visual elements, handling some keystrokes (e.g., Alt-F4 may close a window), deciding which application to run at start-up, etc.

Standardized protocols exist to allow normal clients to communicate with the window manager. The original one is Inter-Client Communication Conventions Manual (ICCCM) but this has been superseded by the Extended Window Manager Hints (EWMH).

Read more about this topic:  X Window Manager

Famous quotes containing the words window, managers and/or work:

    If a man was tossed out of a window when an infant, and so made a cripple for life, or scared out of his wits by the Indians, it is regretted chiefly because he was thus incapacitated for—business! I think that there is nothing, not even crime, more opposed to poetry, to philosophy, ay, to life itself, than this incessant business.
    Henry David Thoreau (1817–1862)

    We also have to make sure our children know the history of women. Tell them the rotten truth: It wasn’t always possible for women to become doctors or managers or insurance people. Let them be armed with a true picture of the way we want it to be.
    Anne Roiphe (20th century)

    Let’s holler and ask him if he won’t prescribe
    For all humanity a complete rest
    From all this wagery. But what’s the use
    Of asking any sympathy of him?
    That class of people don’t know what work is....
    Robert Frost (1874–1963)