Dropping a file or folder on the front panel's background adds it to the
dock: an executable as itself, a folder as `dtfile -dir`, a plain file is
ignored. The site is the panel form (Motif DnD, FILENAME transfer, COPY), so
a drop on a control still goes to the control's own site and runs its action
with the file; the form only sees the empty panel. KeepClass writes
~/.dt/panel-apps and redraws the dock at once, the same list the Dock pane
edits.
dtfile is the source already: DtDndDragStart in File.c with
DtDND_FILENAME_TRANSFER, started by button 1 or 2.
Measured: make -C programs/dtwm rc=0, 0 errors; make -C programs/dtfile
rc=0, 0 errors (the MacBook build of this tree).