Files
mcde/programs/types
lotherk 9e137005cd MCDE front panel: dock halves, drag to keep, printer and xterm
Konrad, 2026-11-15: "wenn keep in dock angewaehlt, muss das icon nach links
wandern"; icons drag & drop; the print widget back on the right; the
programs not in the dock in a separate area; the panel's terminal is xterm.

- The dock part (WmMcdePanel.c) is two halves now: the kept programs left,
  a vertical separator, the running programs that are not in the dock
  right.  A running icon dragged out to the left (or onto the kept half)
  is kept and moves to the left; a kept icon dragged out to the right (or
  onto the running half) is removed and moves back.
- The dump separator is an XmSeparator widget, not a gadget: Motif's
  XtQueryGeometry/XtTranslateCoords crash on gadgets (one dtwm core dump
  measured before the change).
- The Printer control is back in the main row, position 7, left of the
  trash (it was in the Desktop drawer); the dock part is inserted left of
  it, so the order is switch | dock | printer | trash, and a file dragged
  from dtfile onto the printer prints.
- The System (Terminal) control runs Xterm/XTerm, not Terminal/dtterm.
- MCDE_PANEL_DEBUG prints the part's absolute position for tests.

Measured in Xvfb (1280x800, fresh HOME, ttsession + dtwm + dtbar):
xclock kept by dragging its icon out to the left -> ~/.dt/panel-apps has
"XClock 'xclock' '-digital'", debug "2 buttons (1 kept)", area 60 -> 126
wide with the separator at +64; dragging it out to the right again empties
panel-apps ("2 buttons (0 kept)", area 120).  Screenshots: two icons with
the divider, the printer and the trash right of them.  make mcde-linux
MCDE_DIRS="install programs/dtwm" and "... programs/localized/C/types"
exit=0.
2026-11-15 21:26:09 +00:00
..