Commit Graph
1 Commits
Author SHA1 Message Date
lotherkandClaude Opus 5.5 928c77506c mcde: dtterm -dropdown, the terminal that comes down from the top on F12
Dropdown.c: full width, 40 % of the screen high, override-redirect, hidden
until its key (resource dropdownKey, F12); then it slides down in 8 steps to
below the top bar and takes the keyboard, the key sends it back up.  The key
is grabbed on the root window (with the CapsLock/NumLock combinations, a
BadAccess is reported) and taken in dtterm's own event dispatcher
(XtSetEventDispatcher): registering the root window with a widget did not
bring it.  Xsession.d/0085.dtdropdown starts it in every session.
Tested on Xvfb with dtwm and dtbar: hidden at start, down on F12 below the
bar with the keyboard (typed 'echo dropped down'), up again on F12.
xdotool key F12 maps F12 to a spare keycode the grab never sees; the test
sends an XTest event on F12's own keycode.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 18:03:39 +00:00