New programs/dtwm/WmMcdeOverview.c: F9 (or Ctrl+Up) opens an
override-redirect window over the screen with a grid of tiles, one per
window, ordered by the windows' places; each tile keeps its window's aspect,
carries the frame's colour and the window's title (read from the XmString by
joining its text components -- XmStringGetLtoR with a tag of ours failed for
WM_NAME, measured). Arrows, Tab and the pointer choose, Return or a click
raises and focuses that window and closes the view, Escape closes it. No
live pictures, no dimming, no animation: drawn on Expose and when the choice
changes.
F10 (Ctrl+Down) keeps the focused program's windows (WM_CLASS); F11
iconifies every window of the workspace and the next F11 brings exactly those
back (the list is kept).
The keys route through f.mcde_app overview-all|overview-app|overview-desktop:
a new dtwm function name is not bound by a key (measured again with F9 and
f.mcde_overview, after f.mcde_switcher). The five bindings are in the
built-in table (WmResource.c) and in every locale's sys.dtwmrc.tmsg -- fr_FR
had no "f.menu DtRootMenu" line, so its block got them after its last
binding (Alt<Key>F6 f.next_key transient) instead. WmMain.c hands the
overview's events to McdeOverviewEvent before the rest of the dispatch.
Measured under Xvfb with xdotool (dtpad, dtsystemsettings, dtfile open):
- F9: a 2x2 grid, three tiles with their titles ("System Settings",
"File Manager - programs", "Text Editor - (UNTITLED)") --
docs/screenshots/leopard/expose-mcde.png;
- a click on the System Settings tile: the overview window is gone from
the tree and _NET_ACTIVE_WINDOW changed from 0xe0002e (dtpad) to
0x100002c (System Settings), which is first in the stacking order;
- F10 with two dtpad windows and the others open: two tiles, both
"Text Editor - (UNTITLED)";
- F11: the three viewable windows are IsUnMapped; the second F11 makes
exactly those three IsViewable again;
- make programs/dtwm exit=0.
Open: the grid has no live window pictures (that needs a compositor) and no
dimmed desktop behind it -- the tiles are flat, as the design says.