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.
59 lines
2.2 KiB
Makefile
59 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 \
|
|
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) $< > $@
|
|
|