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).
60 lines
2.2 KiB
Makefile
60 lines
2.2 KiB
Makefile
MAINTAINERCLEANFILES = Makefile.in
|
|
|
|
bin_PROGRAMS = dtwm dtfplist
|
|
|
|
configdir = $(CDE_INSTALLATION_TOP)/config/C
|
|
dist_config_DATA = sys.dtwmrc
|
|
|
|
BUILT_SOURCES = sys.dtwmrc Dtwm.defs
|
|
CLEANFILES = sys.dtwmrc Dtwm.defs
|
|
|
|
AM_CPPFLAGS = -DLARGECURSORS -DR2_COMPAT -DOPAQUE -DSHAPE -DUNMAP_ON_RESTART \
|
|
-DBATCH_DRAG_REQUESTS -DCDE_INSTALLATION_TOP=\"$(CDE_INSTALLATION_TOP)\" \
|
|
-DCDE_CONFIGURATION_TOP=\"$(CDE_CONFIGURATION_TOP)\"
|
|
|
|
# Xrandr: monitors plugged in and out (WmMcdeDisplays.c)
|
|
dtwm_LDADD = $(LIBMCDESYS) $(LIBMCDESOUND) \
|
|
$(DTCLIENTLIBS) $(XRANDRLIB) $(XTOOLLIB)
|
|
dtfplist_LDADD = $(DTCLIENTLIBS) $(TIRPCLIB) $(XTOOLLIB)
|
|
|
|
if SOLARIS
|
|
dtwm_LDADD += -lintl -lresolv
|
|
dtfplist_LDADD += -lintl -lresolv
|
|
endif
|
|
|
|
dtwm_SOURCES = WmCDInfo.c WmCDecor.c WmCEvent.c \
|
|
WmCPlace.c WmColormap.c WmError.c \
|
|
WmEvent.c WmEwmh.c WmFeedback.c \
|
|
WmFunction.c WmGraphics.c WmIDecor.c \
|
|
WmIPlace.c WmIconBox.c WmImage.c \
|
|
WmInitWs.c WmKeyFocus.c WmMain.c \
|
|
WmManage.c WmMenu.c WmProperty.c \
|
|
WmProtocol.c WmResCvt.c WmResParse.c \
|
|
WmResource.c WmSignal.c WmWinConf.c \
|
|
WmWinInfo.c WmWinList.c WmWinState.c \
|
|
WmMultiHead.c Button.c Callback.c \
|
|
Clock.c DataBaseLoad.c PanelS.c \
|
|
Parse.c PopupMenu.c Session.c \
|
|
UI.c WmBackdrop.c WmFP.c \
|
|
WmSlideshow.c WmMcdePanel.c WmMcdeSnap.c \
|
|
WmMcdeOverview.c \
|
|
WmMcdeDesktop.c \
|
|
WmMcdeDisplays.c \
|
|
WmHelp.c WmIPC.c WmInstantTitle.c \
|
|
WmOL.c WmParse.c WmParseP.c \
|
|
WmPresence.c WmWrkspace.c WmXSMP.c
|
|
|
|
dtfplist_SOURCES = Print.c Parse.c DataBaseLoad.c WmParse.c Session.c
|
|
|
|
SCRIPTFLAGS = -DCDE_INSTALLATION_TOP=$(CDE_INSTALLATION_TOP) \
|
|
-DCDE_CONFIGURATION_TOP=$(CDE_CONFIGURATION_TOP)
|
|
|
|
Dtwm.defs: Dtwm.defs.src
|
|
$(RM) $@
|
|
$(GENCPP) -P -DXCOMM=# $(SCRIPTFLAGS) $< > $@
|
|
|
|
sys.dtwmrc: sys.dtwmrc.src
|
|
$(RM) $@
|
|
$(GENCPP) -P -DXCOMM=# $(SCRIPTFLAGS) $< > $@
|
|
|