dtwm draws the volumes of the computer in a small window in the top right
corner under the bar (new programs/dtwm/WmMcdeDesktop.c): one tile for each
mounted volume from mcde_sys_disks -- the drive glyph, the volume's name on
a background field of its own (no shadow, no transparency), the chosen one
boxed. A second click within 500 ms opens the volume in dtfile
(fork/execv, no shell). The list is read when the window manager starts;
a volume plugged in later needs the mount events of t0080/t0083.
MCDE_DESK_DEBUG=1 prints what it found (tools/mcde-shot.sh passes it into
the session).
The bar's right end gained the reference's two parts: a person cascade with
the login name (the passwd entry first: a session started with an empty
environment has no USER -- measured, the menu said "user"), Accounts... and
Log Out...; and a magnifier cascade with "Launcher (Command+space)"
(dtlaunch -show) and the settings. Both are cascades because the status
area is a homogeneous menu bar and refuses any other child (measured:
"Attempt to add wrong child type").
McdeSys's Linux disk backend now lists lvm and crypt volumes; the root of a
host with LVM was missing from every disk list before (measured: only
/boot and /boot/efi stood on the desktop, the root now appears as
"System").
Measured under Xvfb with xdotool:
- the desktop shows efi, boot and System in the corner
(docs/screenshots/leopard/Desktop-mcde.png);
- a double click on System opens "File Manager - kitt:ROOT";
- the person menu says "lotherk", with "Accounts..." and "Log Out...";
- the magnifier opens its menu; "Launcher (Command+space)" starts dtlaunch
(-show);
- test_sysinfo lists the root volume; make lib/McdeSys, programs/dtwm,
programs/dtbar exit=0.
Open (follow-ups): the front panel's running-program dots, the volume
hot-plug (t0083), and the desktop icons' text colour from the palette
(they use the session's background with black text today).
Conditional Compilation
-----------------------
The following is a listing of the conditional compilation switches that
are "not obvious." Excluded are hardware or OS identifiers (e.g. __ultrix),
header file include flags, and macros (e.g. ABS).
DEBUG
Turns on code that prints out error messages (specifically
protocol errors).
DEBUGGER
Turns on code to help debugging Help-on-item.
DEBUG_ICON_BOX
Turns on code that alters iconbox spacing to help debug iconbox.
(?)
DEBUG_RESOURCE_DATABASE
Turns on code that dumps out dtwm's local resource database
to aid in debugging resource problems.
DEBUG_SESSION_HINTS
If defined, the session hints property is left on the root
window after being read. Normally, it is deleted.
ICCC_COMPLIANT
This enables stricter ICCCM compliance. Specifically, some
clients didn't get WM_PROTOCOLS quite right.
INTEGRATION_TESTING_
Swaps assignment of black and white on wait state cursor as
a quick indicator of which client is showing the wait state.
LARGECURSORS
Allows cursors larger than 16x16.
MESSAGE_CAT
Enables message catalog code for local language support.
MOTIF_DEFAULT_ICON
Enables the default window icon with four buttons.
OLD_CODE
Vestigal code.
R2_COMPAT
Enables support for old clients that still pass window geometry
hint information in WM_NORMAL_HINTS.
UNMAP_ON_RESTART
All windows are unmapped on restart.