Files
mcde/lib/DtTerm/TermView
lotherkandClaude Opus 5.5 7757e1b19f mcde: dtterm's menus in dtbar; every menu bar of a window hidden; no rebuild of an open menu
dtterm does not call DtInitialize: it starts the program side itself
(_DtMcdeGlobalMenuInitialize, declared in Mcde/GlobalMenu.h when Xt is in).
McdeGlobalMenu.c keeps all menu bars (dtterm has one per tab), hides any the
program manages while the bar runs (Xt change hook) and exports the first
that lives.  dtterm's menus follow the tab with the focus
(_DtTermViewMenuSetCurrent, setContext split into contextFor), since from the
bar they are not posted from the tab.  dtbar defers a new menu text while one
of its menus is open (the open menu was pulled away under the click).
Tested on Xvfb: dtterm's Window/Edit/Options/Help in the bar, no menu bar in
the window with two tabs, Window > New Tab from the bar makes the third.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 07:43:50 +00:00
..