LICENSE at the root; the 103 files new in ext/src/mcde (none was in the CDE
import) carry the CNCL line instead of the LGPL notice.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Motif 2.3.8 shifts the channels of a PNG without alpha the wrong way and
draws only its blue (docs/reference/motif-png.txt). libDtSvc gets
McdeImageGetPixmap/McdeImageFreePixmap (Mcde/Image.h): PNG through libpng's
simplified interface (png_image, the background for the alpha), packed by
the visual's masks; every other format still through XmGetPixmap. dtwm's
backdrops and slideshow and the small pictures of System Settings use it.
dtwm now also frees a backdrop pixmap that is not in Motif's cache (a
scaled copy), which it kept for good before.
configure finds libpng >= 1.6 with pkg-config; the recipe includes
graphics/png's buildlink3.mk (Motif depends on it already); the header is
in the PLIST.
Measured on Xvfb: the RGB PNG that showed only blue (slide-3.png before)
shows its colours as backdrop (build/mcde-shots/slide-3.png) and as a
small picture (desk-2.png). A 16-bit PNG is not measured.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
f.change_backdrop with pixmap 0 makes dtwm load the picture itself
(XmGetPixmap: JPEG and PNG through Motif), and the request is parsed from
its end, so a path may hold blanks. f.mcde_slideshow INTERVAL RANDOM STYLE
FOLDER, and the resource Dtwm*mcdeSlideshow at the start, change the
backdrop of every workspace every INTERVAL minutes, in order or at random;
the folder is read anew each time. Fit and Fill scale with Xrender's
bilinear filter instead of the nearest pixel.
Measured on Xvfb (build/mcde-shots/slide-*.png): c-red.jpg from "My
Pictures" filled the screen; the slideshow showed a-blue.jpg at once,
fitted, and the next picture after one minute; dtwm kept running.
Found: Motif 2.3.8 draws an RGB PNG without alpha as its blue channel only
(lib/Xm/Png.c shifts right where it must shift left);
docs/reference/motif-png.txt.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>