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:
“As the end of the century approaches, all our culture is like the culture of flies at the beginning of winter. Having lost their agility, dreamy and demented, they turn slowly about the window in the first icy mists of morning. They give themselves a last wash and brush-up, their ocellated eyes roll, and they fall down the curtains.”
—Jean Baudrillard (b. 1929)
“We also have to make sure our children know the history of women. Tell them the rotten truth: It wasnt 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)
“... my last work is no sooner on the stands than letters come, suggesting a subject. The grandmothers of strangers are crying from the grave, it seems, for literary recognition; it is bewildering, the number of salty grandfathers, aunts and uncles that languish unappreciated.”
—Catherine Drinker Bowen (18971973)