A monitor below the bar is three columns by two rows; dragging a window to
an edge shows a zone (or a half), sliding along the edges joins zones, and
release takes it; dropped elsewhere it gets its size back. f.mcde_snap and
f.mcde_fullscreen, the window menu's Full Screen and Alt+Ctrl keys in all
locales. The move loop polled the pointer without end when the server was
not grabbed (177 CPU ticks in 3 s with a window held still), now it waits.
Focus follows the pointer without raising by default, as session
resources the Style Manager changes.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Fonts:
- fonts/hack: Hack 3.003 (Expat + Bitstream Vera, from Debian fonts-hack),
installed to dt/fonts; config/fonts.conf (the system's fontconfig plus
that directory) exported by Xsession.d/0070.dtfonts and
Dtlogin*environment.
- sys.resources and dtlogin Xresources: Xft render tables in Hack 10 for
renderTable, textRenderTable, labelRenderTable, buttonRenderTable (a
render table wins over sys.font's *FontList; dtterm and text fields read
the text table).
dtterm (ported from MakroDE -- setlocale and the Xft renderer -- then fixed):
- configure: Xft on by default, --disable-xft for machines without it.
- TermPrimRenderXft.c: reads wchar_t in multibyte locales (it read the
buffer as UTF-8 bytes: three boxes after every character), places every
character in its cell on the baseline, fills the background, draws
underline/overstrike/secure, wcwidth for wide and combining characters,
borrows glyphs from fontconfig fallbacks (check mark, CJK), and makes its
XftDraw at the first drawing (made in Initialize it was window 0, and the
first string a BadDrawable that ended dtterm).
- TermPrim.c AdjustWindowUnits: the cell from the renderer's extents when
there is no XFontStruct (crashed with Xft); _DtTermPrimRenderFontExtents.
- TermPrimRenderFont.c: with setlocale the buffer is wchar_t in UTF-8, the
single-font renderer draws it as XChar2b (it drew boxes too).
Screenshots: build/mcde-shots/dtterm-utf8b-crop.png, dtterm-classic-crop.png.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
cde-2.5.3.tar.gz, SHA512 a01b413b... as in pkgsrc distinfo; recipe from
pkgsrc 3c1118e94432. Added with -f: CDE's .gitignore hides 612 files of
the archive.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>